'use client';

import Stack from '@mui/material/Stack';
import Container from '@mui/material/Container';

type Props = {
  children: React.ReactNode;
};

export default function CompactLayout({ children }: Props) {
  return (
    <Container component="main" maxWidth={false} disableGutters>
      <Stack
        sx={{
          minHeight: '100vh',
          justifyContent: 'center',
        }}
      >
        {children}
      </Stack>
    </Container>
  );
}