diff --git a/components/Layout.tsx b/components/Layout.tsx index 3e5e338470..85ad4262a6 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -104,14 +104,10 @@ export default function Layout({ - {showMobileNav ? ( -
- - {children} -
- ) : ( -
{children}
- )} +
+ {showMobileNav && } + {children} +