@@ -1,4 +1,3 @@
1−import * as bip39 from 'bip39';
2import { Just, Nothing } from 'folktale/maybe';
1import { Just, Nothing } from 'folktale/maybe';
3import React from 'react';
2import React from 'react';
4import { Button } from '../../components/Base';
3import { Button } from '../../components/Base';
@@ -8,10 +7,8 @@ import {
8 InnerLabel,
7 InnerLabel,
9 InputCaption,
8 InputCaption,
10} from '../../components/Base';
9} from '../../components/Base';
11−import { Row, Col, H1 } from '../../components/Base';
10+import { Row, Col } from '../../components/Base';
13−import { ROUTE_NAMES } from '../../lib/routeNames';
14−import { withHistory } from '../../store/history';
15import { DEFAULT_HD_PATH, walletFromMnemonic } from '../../lib/wallet';
12import { DEFAULT_HD_PATH, walletFromMnemonic } from '../../lib/wallet';
16import { compose } from '../../lib/lib';
13import { compose } from '../../lib/lib';
17import { withWallet } from '../../store/wallet';
14import { withWallet } from '../../store/wallet';
@@ -90,7 +87,7 @@ class Mnemonic extends React.Component {
92 render() {
89 render() {
93− const { history, wallet } = this.props;
90+ const { wallet } = this.props;
94 const { mnemonic, hdpath, passphrase } = this.state;
91 const { mnemonic, hdpath, passphrase } = this.state;
@@ -160,7 +157,4 @@ class Mnemonic extends React.Component {
163−export default compose(
160+export default compose(withWallet)(Mnemonic);