home page no wide

This commit is contained in:
tmshv committed 2021-02-17 17:34:48 +03:00
1 parent d11981e2cc
commit b945faded0
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -21,10 +21,9 @@ export interface IAppProps {
breadcrumbs?: IBreadcumbsPart[]
}
export const App: React.FC<IAppProps> = ({ showAuthor = false, ...props }) => {
export const App: React.FC<IAppProps> = ({ showAuthor = false, wide = false, ...props }) => {
const hideBreadcrumbs = useMobile()
const router = useRouter()
const wide = props.wide ?? false
const blockStyle = {
justifyContent: 'center'
}