mirror of
https://github.com/hexolan/panels.git
synced 2026-05-20 11:39:22 +01:00
init frontend
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { useOutletContext } from 'react-router-dom'
|
||||
import { Stack } from '@mantine/core'
|
||||
|
||||
import PanelPostFeed from '../components/PanelPostFeed'
|
||||
import type { PanelContext } from '../components/PanelLayout'
|
||||
|
||||
function PanelPage() {
|
||||
const { panel } = useOutletContext<PanelContext>()
|
||||
|
||||
return (
|
||||
<Stack my='lg' spacing='md'>
|
||||
<PanelPostFeed panel={panel} />
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default PanelPage
|
||||
Reference in New Issue
Block a user