use user from session
This commit is contained in:
parent
5f47162a50
commit
700eaf3eb2
16 changed files with 148 additions and 107 deletions
|
@ -1,9 +1,9 @@
|
|||
import { useUser } from '../../user/userStore.ts'
|
||||
import { useUser } from '../../user/user.ts'
|
||||
import NavButton from '../../../components/buttons/NavButton.tsx'
|
||||
import { useLocation } from 'react-router-dom'
|
||||
|
||||
export default function AuthNavButtons() {
|
||||
const { user } = useUser()
|
||||
const user = useUser()
|
||||
|
||||
const { pathname } = useLocation()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue