fix: ehm in realtà le pagine utente non funzionavano per niente
This commit is contained in:
@@ -3,10 +3,10 @@ import { Link } from 'preact-router/match'
|
||||
import { isAdministrator } from '../../shared/model'
|
||||
import { prependBaseUrl } from '../../shared/utils'
|
||||
|
||||
import { useCurrentUser } from '../hooks/useCurrentUser'
|
||||
import { useLoggedInUser } from '../hooks/useCurrentUser'
|
||||
|
||||
export const Header = ({}) => {
|
||||
const [user] = useCurrentUser()
|
||||
const [user] = useLoggedInUser()
|
||||
|
||||
return (
|
||||
<header>
|
||||
|
||||
Reference in New Issue
Block a user