2021-02-04 19:15:23 +01:00
|
|
|
import { connect } from 'react-redux';
|
2022-10-31 17:20:50 +01:00
|
|
|
import { setSeedPhraseBackedUp } from '../../../../store/actions';
|
2021-02-04 19:15:23 +01:00
|
|
|
import ImportWithSeedPhrase from './import-with-seed-phrase.component';
|
2019-08-02 05:57:26 +02:00
|
|
|
|
2020-02-15 21:34:12 +01:00
|
|
|
const mapDispatchToProps = (dispatch) => {
|
2019-08-02 05:57:26 +02:00
|
|
|
return {
|
2020-11-03 00:41:28 +01:00
|
|
|
setSeedPhraseBackedUp: (seedPhraseBackupState) =>
|
|
|
|
dispatch(setSeedPhraseBackedUp(seedPhraseBackupState)),
|
2021-02-04 19:15:23 +01:00
|
|
|
};
|
|
|
|
};
|
2019-08-02 05:57:26 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export default connect(null, mapDispatchToProps)(ImportWithSeedPhrase);
|