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