mirror of
https://github.com/hexolan/panels.git
synced 2026-03-27 04:44:10 +00:00
init frontend
This commit is contained in:
17
services/frontend/src/pages/User.tsx
Normal file
17
services/frontend/src/pages/User.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { useOutletContext } from 'react-router-dom'
|
||||
import { Stack } from '@mantine/core'
|
||||
|
||||
import UserPostFeed from '../components/UserPostFeed'
|
||||
import type { UserContext } from '../components/UserLayout'
|
||||
|
||||
function UserPage() {
|
||||
const { user } = useOutletContext<UserContext>()
|
||||
|
||||
return (
|
||||
<Stack my='lg' spacing='md'>
|
||||
<UserPostFeed user={user} />
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default UserPage
|
||||
Reference in New Issue
Block a user