lbry-desktop/ui/page/elements/index.js

13 lines
320 B
JavaScript
Raw Normal View History

2022-04-14 23:27:16 +02:00
import { connect } from 'react-redux';
import { selectTotalBalance } from 'redux/selectors/wallet';
import { doOpenModal } from 'redux/actions/app';
import Elements from './view';
const select = (state) => ({
totalBalance: selectTotalBalance(state),
});
export default connect(select, {
doOpenModal,
})(Elements);