Skip to content

Commit

Permalink
feat(BSV): Send user to swap with bsv as source
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jan 3, 2019
1 parent 690c883 commit d8193ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ class BsvWalletsContainer extends React.Component {

onSwapBsv = index => {
this.setState({ toSwap: true }, () => {
this.props.routerActions.push('/swap')
this.props.routerActions.push({
pathname: '/swap',
state: { from: 'BSV', to: 'BTC' }
})
})
}

Expand Down

0 comments on commit d8193ad

Please sign in to comment.