add home link to nav
This commit is contained in:
parent
5f29bc436c
commit
62f9de9546
2 changed files with 8 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
import { PropsWithChildren } from 'react'
|
||||
import { PropsWithChildren, ReactNode } from 'react'
|
||||
import { Role, useUserStore } from '../app/user/user.ts'
|
||||
import NavButton from './buttons/NavButton.tsx'
|
||||
|
||||
type NavBarProps = unknown
|
||||
type NavBarProps = {
|
||||
leftChildren?: ReactNode
|
||||
}
|
||||
|
||||
export default function NavBar({ children }: PropsWithChildren<NavBarProps>) {
|
||||
const user = useUserStore((state) => state.user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue