Skip to content

Commit

Permalink
feat(Left Nav): fetch buysell metadata to determine if buysell should…
Browse files Browse the repository at this point in the history
… show
  • Loading branch information
Philip Welber committed May 15, 2018
1 parent 852b6c1 commit 4ec9d50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -13,6 +13,7 @@ class WalletLayoutContainer extends React.PureComponent {
this.props.settingsActions.fetchSettings()
this.props.kvStoreWhatsnewActions.fetchMetadataWhatsnew()
this.props.kvStoreShapeshiftActions.fetchMetadataShapeshift()
this.props.kvStoreBuySellActions.fetchMetadataBuySell()
}

render () {
Expand Down
Expand Up @@ -42,7 +42,7 @@ const renderTotal = trade => {
class SfoxTradeDetails extends React.PureComponent {
render () {
const headerStatus = statusHelper(this.props.trade.state)
const bodyStatus = bodyStatusHelper(this.props.trade.state)
const bodyStatus = bodyStatusHelper(this.props.trade.state, this.props.trade.isBuy)
const { account, trade } = this.props

return (
Expand Down

0 comments on commit 4ec9d50

Please sign in to comment.