currency code added
This commit was merged in pull request #812.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user