diff --git a/common/components/Header/components/TabsOptions.jsx b/common/components/Header/components/TabsOptions.jsx
index dbc2c279..dada34d9 100644
--- a/common/components/Header/components/TabsOptions.jsx
+++ b/common/components/Header/components/TabsOptions.jsx
@@ -1,6 +1,7 @@
import React, {Component} from 'react';
import {Link} from 'react-router';
import translate from 'translations';
+import PropTypes from 'prop-types';
const tabs = [
{
@@ -11,7 +12,8 @@ const tabs = [
name: 'NAV_SendEther'
},
{
- name: 'NAV_Swap'
+ name: 'NAV_Swap',
+ link: 'swap'
},
{
name: 'NAV_Offline'
@@ -39,6 +41,10 @@ export default class TabsOptions extends Component {
}
}
+ static propTypes = {
+ location: PropTypes.object
+ };
+
tabClick() {
}
@@ -49,6 +55,7 @@ export default class TabsOptions extends Component {
}
render() {
+ const {location} = this.props;
return (
);
diff --git a/common/containers/App/index.jsx b/common/containers/App/index.jsx
index 1a657da1..80146f2e 100644
--- a/common/containers/App/index.jsx
+++ b/common/containers/App/index.jsx
@@ -42,9 +42,8 @@ class App extends Component {
nodeSelection
} = this.props;
- // let title = children.props.route.name;
-
let headerProps = {
+ location,
changeLanguage,
languageSelection,
diff --git a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx
index 6c7ca791..2e23001e 100644
--- a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx
+++ b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx
@@ -33,14 +33,6 @@ export default class GenerateWalletPasswordInputComponent extends Component {
className="input-group-addon eye"/>
-
- {/*TODO - if we want descriptive errors we could re-enable this*/}
- {/*{this.props.meta.touched && this.props.meta.error &&*/}
- {/**/}
- {/*
{this.props.meta.error}
*/}
- {/*
*/}
- {/*}*/}
-
)
}