lbry-desktop/ui/js/page/wallet/index.js
2017-05-10 20:59:47 -04:00

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