lbry-desktop/ui/js/page/wallet/index.js
2017-06-06 17:19:12 -04:00

12 lines
357 B
JavaScript

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