Skip to content

Commit

Permalink
fix: translation issue for change theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiyeh-deriv committed Apr 10, 2023
1 parent 8d4d350 commit fe67853
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { routes } from '@deriv/shared';
import DarkModeToggleIcon from 'Assets/SvgComponents/footer/ic-footer-light-theme.svg';
import LightModeToggleIcon from 'Assets/SvgComponents/footer/ic-footer-dark-theme.svg';
import { Popover } from '@deriv/components';
import { localize } from '@deriv/translations';

const FooterIconSeparator = () => <div className='footer-icon-separator' />;

Expand Down Expand Up @@ -99,7 +100,7 @@ const TradingHubFooter = ({
/>
)}
<div className='footer__links--dark-mode'>
<Popover alignment='top' message='Change theme' zIndex={9999}>
<Popover alignment='top' message={localize('Change theme')} zIndex={9999}>
{is_dark_mode ? (
<LightModeToggleIcon onClick={changeTheme} />
) : (
Expand Down

0 comments on commit fe67853

Please sign in to comment.