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