Skip to content

Commit 753e19a

Browse files
committed
Fix Currencies icon in withdraw
1 parent 36749f8 commit 753e19a

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

public/media/img/assets/trx.svg

Lines changed: 19 additions & 0 deletions
Loading

src/pages/Withdraws/Withdraws.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const Withdraws = () => {
4949
<tr>
5050
<th scope="col"/>
5151
<th scope="col">Currency</th>
52+
<th scope="col"></th>
5253
<th scope="col">Network</th>
5354
<th scope="col">User ID</th>
5455
<th scope="col">Amount</th>
@@ -72,9 +73,11 @@ const Withdraws = () => {
7273
withdraws?.map((withdraw, index) => <tr key={withdraw.withdrawId}>
7374
<th scope="row">{(paginate.page - 1) * paginate.perPage + index + 1}</th>
7475
<td><img className="table-img"
75-
src={toAbsoluteUrl("media/img/assets/" + withdraw.currency + ".svg")}
76-
alt=""/>
76+
src={toAbsoluteUrl("media/img/assets/" + withdraw.currency?.toLowerCase() + ".svg")}
77+
alt=""/><span> </span>
7778
</td>
79+
80+
<td>{withdraw.currency}</td>
7881
<td>{withdraw.destNetwork}</td>
7982
<td>{withdraw.uuid}</td>
8083
<td>{withdraw.amount}</td>

0 commit comments

Comments
 (0)