Skip to content

Commit

Permalink
fix currency is not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jan 10, 2024
1 parent 09e7aa3 commit b3c4d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function MoneyRequestPreview(props) {

const getDisplayAmountText = () => {
if (isDistanceRequest) {
return requestAmount && !hasPendingWaypoints ? CurrencyUtils.convertToDisplayString(requestAmount, props.transaction.currency) : translate('common.tbd');
return requestAmount && !hasPendingWaypoints ? CurrencyUtils.convertToDisplayString(requestAmount, requestCurrency) : translate('common.tbd');
}

if (isScanning) {
Expand Down

0 comments on commit b3c4d49

Please sign in to comment.