Skip to content

Commit

Permalink
small improvements #156
Browse files Browse the repository at this point in the history
  • Loading branch information
tima101 committed May 27, 2021
1 parent 8c37079 commit 25ea612
Show file tree
Hide file tree
Showing 21 changed files with 127 additions and 20 deletions.
1 change: 0 additions & 1 deletion book/1-end/app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'react/no-unescaped-entities': 'off',
'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
'@typescript-eslint/no-explicit-any': 'off',
'prefer-arrow-callback': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
Expand Down
8 changes: 7 additions & 1 deletion book/10-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class CreateDiscussionForm extends React.Component<Props, State> {
notificationType: 'default',
};
}

public render() {
const { open, isMobile, store } = this.props;
const { currentTeam, currentUser } = store;
Expand Down
8 changes: 7 additions & 1 deletion book/10-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
1 change: 0 additions & 1 deletion book/2-begin/app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'react/no-unescaped-entities': 'off',
'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
'@typescript-eslint/no-explicit-any': 'off',
'prefer-arrow-callback': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
Expand Down
8 changes: 7 additions & 1 deletion book/2-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/3-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/3-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/4-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/4-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/5-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/5-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/6-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/6-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/7-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/7-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/8-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/8-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/9-begin/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion book/9-end/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down
8 changes: 7 additions & 1 deletion saas/app/components/common/MenuWithLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { NextRouter, withRouter } from 'next/router';
import React from 'react';

type Props = {
options: any[];
options: {
href: string;
as: string;
highlighterSlug: string;
text: string;
separator: boolean;
}[];
router: NextRouter;
};

Expand Down

0 comments on commit 25ea612

Please sign in to comment.