Fix invalid key
This commit is contained in:
parent
29c6d9dcb9
commit
3ed5cc4b9b
1 changed files with 0 additions and 1 deletions
|
|
@ -68,7 +68,6 @@ const NavBar = ({ user }) => {
|
||||||
{!user && (
|
{!user && (
|
||||||
<Button
|
<Button
|
||||||
onClick={() => navigate('/login', { replace: true })}
|
onClick={() => navigate('/login', { replace: true })}
|
||||||
icon={MdLogin}
|
|
||||||
colorScheme={location.pathname === '/login' ? 'blue' : 'gray'}
|
colorScheme={location.pathname === '/login' ? 'blue' : 'gray'}
|
||||||
>
|
>
|
||||||
<IconTextDuo icon={(<MdLogin />)} text={i18n.login} />
|
<IconTextDuo icon={(<MdLogin />)} text={i18n.login} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue