all repos — caroster @ v4.1

[Octree] Group carpool to your event https://caroster.io

frontend/containers/Map/index.tsx (view raw)

 1import {CircularProgress} from '@mui/material';
 2import dynamic from 'next/dynamic';
 3import MapWrapper from './MapWrapper';
 4
 5const ClientMap = dynamic(() => import('./Map'), {
 6  ssr: false,
 7  loading: () => (
 8    <MapWrapper>
 9      <CircularProgress sx={{position: 'absolute', margin: '0 auto', top: '50%'}}/>
10    </MapWrapper>
11  ),
12});
13
14export default ClientMap;