lbry-desktop/src/renderer/component/walletBalance/index.js

11 lines
277 B
JavaScript
Raw Normal View History

import React from 'react';
import { connect } from 'react-redux';
import { selectBalance } from 'redux/selectors/wallet';
import WalletBalance from './view';
2017-08-17 22:19:29 +02:00
const select = state => ({
balance: selectBalance(state),
});
2017-08-20 23:42:00 +02:00
export default connect(select, null)(WalletBalance);