Fixed header Light/Dark for translation

This commit is contained in:
kodxana 2019-10-01 22:52:24 +02:00 committed by Sean Yesmunt
parent 81e53135d9
commit b74f149879

View file

@ -157,7 +157,7 @@ const Header = (props: Props) => {
</MenuItem>
<MenuItem className="menu__link" onSelect={handleThemeToggle}>
<Icon icon={currentTheme === 'light' ? ICONS.DARK : ICONS.LIGHT} />
{currentTheme === 'light' ? 'Dark' : 'Light'}
{currentTheme === 'light' ? __('Dark') : __('Light')}
</MenuItem>
</MenuList>
</Menu>