fix: add keys to header buttons (#142)

Co-authored-by: Zdeněk Janeček <zdenek.janecek@firma.seznam.cz>
This commit is contained in:
Zdeněk Janeček 2023-03-28 18:38:05 +02:00 committed by GitHub
parent 3433371930
commit 55e19381a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"