add home link to nav

This commit is contained in:
john 2025-08-10 16:21:25 +02:00
parent 5f29bc436c
commit 62f9de9546
2 changed files with 8 additions and 2 deletions

View file

@ -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)