diff --git a/src/components/mainMenu/mainMenu.js b/src/components/mainMenu/mainMenu.js index 2ba95dc20e..ceef852fe3 100644 --- a/src/components/mainMenu/mainMenu.js +++ b/src/components/mainMenu/mainMenu.js @@ -154,7 +154,7 @@ class MainMenu extends React.Component { diff --git a/src/components/setting/setting.js b/src/components/setting/setting.js index 1a73fba0b9..89cb855070 100644 --- a/src/components/setting/setting.js +++ b/src/components/setting/setting.js @@ -1,5 +1,5 @@ import React from 'react'; -// import { Link } from 'react-router-dom'; +import { Link } from 'react-router-dom'; import ReactSwipe from 'react-swipe'; import styles from './setting.css'; import Checkbox from '../toolbox/sliderCheckbox'; @@ -7,8 +7,8 @@ import i18n from '../../i18n'; import accountConfig from '../../constants/account'; import breakpoints from './../../constants/breakpoints'; // TODO: will be re-enabled when the functionality is updated -// import routes from '../../constants/routes'; -// import { FontIcon } from '../fontIcon'; +import routes from '../../constants/routes'; +import { FontIcon } from '../fontIcon'; // import languageSwitcherTheme from './languageSwitcher.css'; class Setting extends React.Component { @@ -50,7 +50,8 @@ class Setting extends React.Component { render() { this.language = (i18n.language === 'de'); const showSetting = this.props.showSetting ? styles.active : ''; - const { t, settings, settingsUpdated } = this.props; + const { t, settings, settingsUpdated, hasSecondPassphrase, toggleMenu, + startOnboarding } = this.props; return