Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Remove language switcher from header
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Sep 27, 2017
1 parent be0cf0e commit 37fe581
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import grid from 'flexboxgrid/dist/flexboxgrid.css';

import PrivateWrapper from '../privateWrapper';
import SaveAccountButton from '../saveAccountButton';
import i18n from '../../i18n';
import languages from '../../constants/languages';
import logo from '../../assets/images/LISK-nano.png';
import offlineStyle from '../offlineWrapper/offlineWrapper.css';
import styles from './header.css';
Expand Down Expand Up @@ -58,16 +56,6 @@ const Header = props => (
to='receive'>{props.t('Receive LSK')}</RelativeLink>
<RelativeLink primary raised disableWhenOffline className={`${styles.button} send-button`}
to='send'>{props.t('send')}</RelativeLink>
<IconMenu
selectable={true}
selected={i18n.language}
className={`${styles.iconButton} ${offlineStyle.disableWhenOffline}`}
icon='language' position='topRight'>
{Object.keys(languages).map(key => (
<MenuItem key={key} value={key} caption={languages[key].name}
onClick={() => i18n.changeLanguage(key)} />
))}
</IconMenu>
</PrivateWrapper>
</header>
);
Expand Down

0 comments on commit 37fe581

Please sign in to comment.