Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Gale-Rosen <5487802+dangrous@users.noreply.github.com>
  • Loading branch information
abzokhattab and dangrous authored Jul 16, 2024
1 parent 49315c3 commit 3bb57a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MoneyRequestAmountInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const getNewSelection = (oldSelection: Selection, prevLength: number, newLength:
return {start: cursorPosition, end: cursorPosition};
};

const defaultOnFormatAmount = (amount: number, currency: string) => CurrencyUtils.convertToFrontendAmountAsString(amount, currency ?? CONST.CURRENCY.USD);
const defaultOnFormatAmount = (amount: number, currency?: string) => CurrencyUtils.convertToFrontendAmountAsString(amount, currency ?? CONST.CURRENCY.USD);

function MoneyRequestAmountInput(
{
Expand Down

0 comments on commit 3bb57a6

Please sign in to comment.