File tree 1 file changed +2
-6
lines changed
frontends/web/src/components/amount
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import { Arrow } from '@/components/transactions/components/arrows';
21
21
import { Amount } from '@/components/amount/amount' ;
22
22
import { getTxSign } from '@/utils/transaction' ;
23
23
import styles from './conversion-amount.module.css' ;
24
- import { Skeleton } from '@/components/skeleton/skeleton' ;
25
24
26
25
type TConversionAmountProps = {
27
26
amount : IAmount ;
@@ -70,12 +69,9 @@ export const ConversionAmount = ({
70
69
unit = { conversionUnit }
71
70
/>
72
71
</ >
73
- ) : (
74
- < div className = { styles . skeletonContainer } >
75
- < Skeleton />
76
- </ div >
72
+ ) : ( < div > </ div >
77
73
) }
78
- < span className = { styles . txUnit } > { ' ' } { conversionUnit } </ span >
74
+ { ( conversion || sendToSelf ) ? < span className = { styles . txUnit } > { ' ' } { conversionUnit } </ span > : null }
79
75
</ span >
80
76
) ;
81
77
} ;
You can’t perform that action at this time.
0 commit comments