MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / Profile

Function Profile

src/Components/Profile/Profile.jsx:39–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected