()
| 37 | } |
| 38 | |
| 39 | export default function Profile() { |
| 40 | const loaderData = useLoaderData(); |
| 41 | return ( |
| 42 | <Box sx={{ |
| 43 | width: '100%', |
| 44 | height: 'calc(100vh - 60px)', |
| 45 | overflowY: 'auto', |
| 46 | display: 'flex', |
| 47 | justifyContent: 'center', |
| 48 | }}> |
| 49 | <Box sx={{ |
| 50 | width: '100%', |
| 51 | maxWidth: 1100, |
| 52 | px: {xs: 1.5, sm: 3}, |
| 53 | py: 2, |
| 54 | display: 'flex', |
| 55 | flexDirection: 'column', |
| 56 | gap: 2, |
| 57 | }}> |
| 58 | <ProfileHeader loaderData={loaderData}/> |
| 59 | <Outlet/> |
| 60 | </Box> |
| 61 | </Box> |
| 62 | ) |
| 63 | } |
nothing calls this directly
no outgoing calls
no test coverage detected