mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-23 05:46:20 +02:00
Missing i18n (#325)
This commit is contained in:
parent
2c6f64bdc3
commit
a81584f37d
2 changed files with 11 additions and 2 deletions
|
@ -202,10 +202,18 @@ const UserDropdown: React.VoidFunctionComponent<
|
|||
/>
|
||||
) : null}
|
||||
{!user.isGuest ? (
|
||||
<DropdownItem href="/profile" icon={User} label="Your profile" />
|
||||
<DropdownItem
|
||||
href="/profile"
|
||||
icon={User}
|
||||
label={t("app:yourProfile")}
|
||||
/>
|
||||
) : null}
|
||||
{user.isGuest ? (
|
||||
<DropdownItem icon={Login} label="Login" onClick={openLoginModal} />
|
||||
<DropdownItem
|
||||
icon={Login}
|
||||
label={t("app:login")}
|
||||
onClick={openLoginModal}
|
||||
/>
|
||||
) : null}
|
||||
<DropdownItem
|
||||
icon={Logout}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue