fix: altro bug del BASE_URL

pull/1/head
Antonio De Lucreziis 2 years ago
parent 38f63e2e9b
commit 586db511b0

@ -23,13 +23,13 @@ export const Header = ({ user, noLogin }: Props) => (
<>
{isAdministrator(user.role) && (
<div class="nav-item">
<Link activeClassName="active" href="/admin">
<Link activeClassName="active" href={prependBaseUrl('/admin')}>
Pannello Admin
</Link>
</div>
)}
<div class="nav-item">
<Link activeClassName="active" href="/profile">
<Link activeClassName="active" href={prependBaseUrl('/profile')}>
@{user.id}
{isAdministrator(user.role) && <> ({ROLE_LABEL[user.role]})</>}
</Link>

Loading…
Cancel
Save