lbry-desktop/ui/page/elements/index.js
2022-04-15 15:29:37 -04:00

12 lines
320 B
JavaScript

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);