lbry-desktop/ui/js/component/walletBalance/index.js
2017-11-13 16:02:23 -05:00

11 lines
277 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import { selectBalance } from "redux/selectors/wallet";
import WalletBalance from "./view";
const select = state => ({
balance: selectBalance(state),
});
export default connect(select, null)(WalletBalance);