File tree 1 file changed +2
-7
lines changed
frontends/web/src/components/amount
1 file changed +2
-7
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,8 @@ export const ConversionAmount = ({
70
69
unit = { conversionUnit }
71
70
/>
72
71
</ >
73
- ) : (
74
- < div className = { styles . skeletonContainer } >
75
- < Skeleton />
76
- </ div >
77
- ) }
78
- < span className = { styles . txUnit } > { ' ' } { conversionUnit } </ span >
72
+ ) : null }
73
+ { ( conversion || sendToSelf ) ? < span className = { styles . txUnit } > { ' ' } { conversionUnit } </ span > : null }
79
74
</ span >
80
75
) ;
81
76
} ;
You can’t perform that action at this time.
0 commit comments