From b945faded0ab1cbff9e4cc8b5a03e49c77bd3dc7 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Wed, 17 Feb 2021 17:34:48 +0300 Subject: [PATCH] home page no wide --- pages/index.tsx | 2 +- src/components/App/index.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index e6259bd7..1e207fbd 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -18,7 +18,7 @@ type Props = { const Index: NextPage = props => ( {props.title} diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 8dd48d62..d8655d17 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -21,10 +21,9 @@ export interface IAppProps { breadcrumbs?: IBreadcumbsPart[] } -export const App: React.FC = ({ showAuthor = false, ...props }) => { +export const App: React.FC = ({ showAuthor = false, wide = false, ...props }) => { const hideBreadcrumbs = useMobile() const router = useRouter() - const wide = props.wide ?? false const blockStyle = { justifyContent: 'center' }