use user from session
This commit is contained in:
parent
5f47162a50
commit
700eaf3eb2
16 changed files with 148 additions and 107 deletions
|
@ -1,11 +1,11 @@
|
|||
import { PropsWithChildren } from 'react'
|
||||
import { useUser } from '../app/user/userStore.ts'
|
||||
import { useUser } from '../app/user/user.ts'
|
||||
import NavButton from './buttons/NavButton.tsx'
|
||||
|
||||
type NavBarProps = unknown
|
||||
|
||||
export default function NavBar({ children }: PropsWithChildren<NavBarProps>) {
|
||||
const { user } = useUser()
|
||||
const user = useUser()
|
||||
return (
|
||||
<nav className={`w-full flex flex-row justify-end gap-4 px-4 md:px-8 py-3`}>
|
||||
{children}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue