Browse Source
QRCode exporter uses activeAccountsSelector
gre-patch-1
Gaëtan Renaudeau
6 years ago
No known key found for this signature in database
GPG Key ID: 7B66B85F042E5451
1 changed files with
2 additions and
2 deletions
-
src/components/QRCodeExporter.js
|
|
@ -5,14 +5,14 @@ import { Buffer } from 'buffer' |
|
|
|
import { createStructuredSelector } from 'reselect' |
|
|
|
import { connect } from 'react-redux' |
|
|
|
|
|
|
|
import { accountsSelector } from 'reducers/accounts' |
|
|
|
import { activeAccountsSelector } from 'reducers/accounts' |
|
|
|
import { exportSettingsSelector } from 'reducers/settings' |
|
|
|
import { encode } from '@ledgerhq/live-common/lib/cross' |
|
|
|
import { dataToFrames } from 'qrloop/exporter' |
|
|
|
import QRCode from './base/QRCode' |
|
|
|
|
|
|
|
const mapStateToProps = createStructuredSelector({ |
|
|
|
accounts: accountsSelector, |
|
|
|
accounts: activeAccountsSelector, |
|
|
|
settings: exportSettingsSelector, |
|
|
|
}) |
|
|
|
|
|
|
|