Browse Source

QRCode exporter uses activeAccountsSelector

gre-patch-1
Gaëtan Renaudeau 6 years ago
parent
commit
952f002d5a
No known key found for this signature in database GPG Key ID: 7B66B85F042E5451
  1. 4
      src/components/QRCodeExporter.js

4
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,
})

Loading…
Cancel
Save