diff --git a/pages/[...slug].tsx b/pages/[...slug].tsx index b5e261df..2c577e48 100644 --- a/pages/[...slug].tsx +++ b/pages/[...slug].tsx @@ -25,7 +25,6 @@ type Props = { const Index: NextPage = props => ( import('../Navigation').then(mod => mod.Navigat }) export interface IAppProps { - showAuthor: boolean + showAuthor?: boolean wide?: boolean contentStyle?: React.CSSProperties breadcrumbs?: IBreadcumbsPart[] } -export const App: React.FC = props => { +export const App: React.FC = ({ showAuthor = false, ...props }) => { const hideBreadcrumbs = useMobile() const router = useRouter() const wide = props.wide ?? false @@ -51,7 +51,7 @@ export const App: React.FC = props => { )} footer={(