File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
apps/namadillo/src/App/Transactions Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import { useAtomValue } from "jotai";
14
14
import { useEffect , useState } from "react" ;
15
15
import { FaLock } from "react-icons/fa6" ;
16
16
import {
17
- IoArrowBack ,
18
- IoArrowForward ,
19
17
IoCheckmarkCircleOutline ,
20
18
IoCloseCircleOutline ,
21
19
} from "react-icons/io5" ;
@@ -197,8 +195,12 @@ export const TransactionCard = ({
197
195
} )
198
196
) }
199
197
>
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
+ ) }
202
204
</ i >
203
205
204
206
< div className = "flex flex-col" >
@@ -211,12 +213,6 @@ export const TransactionCard = ({
211
213
) }
212
214
>
213
215
{ 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
- ) }
220
216
< CopyToClipboardControl
221
217
className = "ml-1.5 text-neutral-400"
222
218
value = { transaction ?. txId ?? "" }
You can’t perform that action at this time.
0 commit comments