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

19 lines
357 B
JavaScript
Raw Normal View History

2017-04-22 15:17:01 +02:00
import React from 'react'
import {
connect
} from 'react-redux'
import {
selectCurrentPage
2017-04-22 15:17:01 +02:00
} from 'selectors/app'
import {
selectBalance
2017-04-22 15:17:01 +02:00
} from 'selectors/wallet'
import WalletPage from './view'
const select = (state) => ({
currentPage: selectCurrentPage(state),
balance: selectBalance(state)
2017-04-22 15:17:01 +02:00
})
export default connect(select, null)(WalletPage)