chore: update Layout

pull/26459/head^2
Nicolás Quiroz 2 years ago
parent e0464a7b26
commit 6ba9dc891e
  1. 0
      src/components/UI/.delete-me
  2. 3
      src/components/layouts/Layout.tsx

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

Loading…
Cancel
Save