Skip to content

Commit ed7a4b4

Browse files
authored
chore: update history table icons (#2053)
1 parent af5ea6c commit ed7a4b4

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

apps/namadillo/src/App/Transactions/TransactionCard.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ import { useAtomValue } from "jotai";
1414
import { useEffect, useState } from "react";
1515
import { FaLock } from "react-icons/fa6";
1616
import {
17-
IoArrowBack,
18-
IoArrowForward,
1917
IoCheckmarkCircleOutline,
2018
IoCloseCircleOutline,
2119
} from "react-icons/io5";
@@ -197,8 +195,12 @@ export const TransactionCard = ({
197195
})
198196
)}
199197
>
200-
{isReceived && <IoArrowBack width={20} height={20} />}
201-
{!isReceived && <IoArrowForward width={20} height={20} />}
198+
{!transactionFailed && (
199+
<IoCheckmarkCircleOutline className="ml-1 mt-0.5 w-10 h-10" />
200+
)}
201+
{transactionFailed && (
202+
<IoCloseCircleOutline className="ml-1 mt-0.5 w-10 h-10" />
203+
)}
202204
</i>
203205

204206
<div className="flex flex-col">
@@ -211,12 +213,6 @@ export const TransactionCard = ({
211213
)}
212214
>
213215
{getTitle(transaction?.kind, isReceived)}{" "}
214-
{!transactionFailed && (
215-
<IoCheckmarkCircleOutline className="ml-1 mt-0.5 w-5 h-5" />
216-
)}
217-
{transactionFailed && (
218-
<IoCloseCircleOutline className="ml-1 mt-0.5 w-5 h-5" />
219-
)}
220216
<CopyToClipboardControl
221217
className="ml-1.5 text-neutral-400"
222218
value={transaction?.txId ?? ""}

0 commit comments

Comments
 (0)