fix: add keys to header buttons (#142)
Co-authored-by: Zdeněk Janeček <zdenek.janecek@firma.seznam.cz>
This commit is contained in:
parent
3433371930
commit
55e19381a7
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,7 @@ export function getButtons({
|
|||
isAuthenticated === true ? (
|
||||
<NavButton
|
||||
name="Sign Out"
|
||||
key="signout"
|
||||
icon={<UserX />}
|
||||
value="signout"
|
||||
onClick={() => {
|
||||
|
@ -166,6 +167,7 @@ export function getButtons({
|
|||
isAuthenticated === false ? (
|
||||
<NavButton
|
||||
name="Sign In"
|
||||
key="signin"
|
||||
icon={<User />}
|
||||
value="signin"
|
||||
href="/signin"
|
||||
|
@ -176,6 +178,7 @@ export function getButtons({
|
|||
<FadeIn>
|
||||
<NavButton
|
||||
name="Admin"
|
||||
key="admin"
|
||||
icon={<Settings />}
|
||||
value="admin"
|
||||
href="/admin"
|
||||
|
|
Loading…
Reference in a new issue