Skip to content

Commit

Permalink
fix(open banking): display correct currency and symbols on deposit su…
Browse files Browse the repository at this point in the history
…ccess screen
  • Loading branch information
blockdylanb committed Apr 16, 2021
1 parent 1851ecc commit 9231750
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ const DescriptionText = styled(Text)`
type Props = OwnProps & SuccessStateType

const Success = props => {
const coin = props.fiatCurrency || 'USD'
const coin = props.formValues?.currency || 'USD'
const amount = props.formValues?.amount || 0
const unit = (props.defaultMethod?.currency as FiatType) || 'USD'
const unit = (props.formValues?.currency as FiatType) || 'USD'

return (
<Wrapper>
Expand Down

0 comments on commit 9231750

Please sign in to comment.