import { Outlet } from 'react-router-dom';
// @mui
import { Stack } from '@mui/material';
import { ConfiguredCorporateProvider } from '@/contexts/ConfiguredCorporateContext';

export default function ConfigLayout() {
  return (
    <Stack
      sx={{
        display: { lg: 'flex' },
        minHeight: { lg: 1 },
      }}
    >
      <ConfiguredCorporateProvider>
        <Outlet />
      </ConfiguredCorporateProvider>
    </Stack>
  );
}
