Commit aa5dd878 authored by Akinwale Ariwodola's avatar Akinwale Ariwodola
Browse files

fix displayed wallet custody message when signed in

parent 47c6fb58
Pipeline #1954 passed with stage
Subproject commit cbc4a662e670941b1c82aa6846ac56923c30af2f
Subproject commit ff30e7f6a4358fd997a9e6d9f75bfe6959eafcb6
import { connect } from 'react-redux';
import { selectClaimsBalance, selectSupportsBalance, selectTipsBalance } from 'lbry-redux';
import { makeSelectClientSetting } from 'redux/selectors/settings';
import WalletBalanceExtra from './view';
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
const select = state => ({
claimsBalance: selectClaimsBalance(state) || 0,
deviceWalletSynced: makeSelectClientSetting(Constants.SETTING_DEVICE_WALLET_SYNCED)(state),
supportsBalance: selectSupportsBalance(state) || 0,
tipsBalance: selectTipsBalance(state) || 0,
});
export default connect(
select,
null,
)(WalletBalanceExtra);
export default connect(select, null)(WalletBalanceExtra);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment