currency code added

This commit was merged in pull request #812.
This commit is contained in:
victorAnumudu
2024-10-08 20:09:56 +01:00
parent 16119dc332
commit 64f6e55fb6
10 changed files with 45 additions and 25 deletions
@@ -3,6 +3,8 @@ import React, { useState } from "react";
import PaginatedList from "../../Pagination/PaginatedList";
import { handlePagingFunc } from "../../Pagination/HandlePagination";
import { currencySymbol } from '../../Helpers/PriceFormatter';
function RecentActivityTable({ payment }) {
const [currentPage, setCurrentPage] = useState(0);
const indexOfFirstItem = Number(currentPage);
@@ -38,9 +40,9 @@ function RecentActivityTable({ payment }) {
dangerouslySetInnerHTML={{ __html: item.recipient }}
></td>
<td className="p-4 text-right">
{item.amount}
{currencySymbol('', item.amount)}
<br />
{item.fee}
{currencySymbol('', item.fee)}
</td>
<td className="p-4">{item.status}</td>
</tr>