chore: update Layout

This commit is contained in:
Nicolás Quiroz 2022-09-30 10:26:29 -03:00
parent e0464a7b26
commit 6ba9dc891e
2 changed files with 2 additions and 1 deletions

View File

@ -5,9 +5,10 @@ interface Props {
children?: React.ReactNode;
}
// TODO: if mobile, getMobileLayout, else getDesktopLayout
export const Layout: FC<Props> = ({ children }) => {
return (
<Container maxW='container.lg' my={7}>
<Container maxW={{ sm: 'container.sm' }} my={7}>
{children}
</Container>
);