mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 10:05:09 +03:00
temp: fix balance issue
This commit is contained in:
parent
da7fe35a60
commit
4066f21ec1
@ -37,13 +37,14 @@ export default class Balance extends Component {
|
||||
CAD: 70000,
|
||||
BTC: 1,
|
||||
},
|
||||
denomination: "CAD",
|
||||
denomination: "USD",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
const sats = this.props.state.wallet.balance || 0;
|
||||
const sats = (this.props.state.wallet) ?
|
||||
(this.props.state.wallet.balance || 0) : 0;
|
||||
const value = currencyFormat(sats, this.state.conversion, this.state.denomination);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user