Skip to content

Commit

Permalink
Merge pull request #22 from muntaxir4/dev
Browse files Browse the repository at this point in the history
fix: Web merchant payment history
  • Loading branch information
muntaxir4 authored Sep 14, 2024
2 parents afe3d8e + 458bc9a commit 7493a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user-web/components/merchant/PaymentHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function formatPaymentData(data: number[], rate: number) {
prevDateMilliSeconds = currDateMilliSeconds;
return {
date: new Date(currDateMilliSeconds).toUTCString(),
amount: getCurrencyFloatAmount((Math.random() * 100) / 100, rate),
amount: getCurrencyFloatAmount(item / 100, rate),
};
});
return res;
Expand Down

0 comments on commit 7493a5a

Please sign in to comment.