-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CU-2pjkxye - No visible QR code (#2426)
* CU-2pjkxye - No visible QR code * fix: CU-2pjkxye - No visible QR code Co-authored-by: LAPTOP-HBL4M4SL\rauld <[email protected]>
- Loading branch information
1 parent
e62cf7c
commit 1d8295a
Showing
16 changed files
with
230 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,25 @@ | ||
import { injectIntl } from 'react-intl' | ||
import { compose, withProps } from 'recompose' | ||
import { bindActionCreators } from 'redux' | ||
import { connect } from 'react-redux' | ||
import withChainData from '../../../hocs/withChainData' | ||
import EncryptForm from './EncryptForm' | ||
import { setEncryptedWIF } from '../../../modules/generateEncryptedWIF' | ||
import { validatePassphraseLength } from '../../../core/wallet' | ||
|
||
export default injectIntl(EncryptForm) | ||
const actionCreators = { | ||
setEncryptedWIF, | ||
} | ||
|
||
const mapDispatchToProps = dispatch => | ||
bindActionCreators(actionCreators, dispatch) | ||
|
||
export default compose( | ||
connect( | ||
null, | ||
mapDispatchToProps, | ||
), | ||
withChainData(), | ||
withProps({ | ||
validatePassphraseLength, | ||
}), | ||
)(EncryptForm) |
Oops, something went wrong.