Fixed header Light/Dark for translation
This commit is contained in:
parent
81e53135d9
commit
b74f149879
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ const Header = (props: Props) => {
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem className="menu__link" onSelect={handleThemeToggle}>
|
<MenuItem className="menu__link" onSelect={handleThemeToggle}>
|
||||||
<Icon icon={currentTheme === 'light' ? ICONS.DARK : ICONS.LIGHT} />
|
<Icon icon={currentTheme === 'light' ? ICONS.DARK : ICONS.LIGHT} />
|
||||||
{currentTheme === 'light' ? 'Dark' : 'Light'}
|
{currentTheme === 'light' ? __('Dark') : __('Light')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</MenuList>
|
</MenuList>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
Loading…
Reference in a new issue