fix(currency-dropdown): remove one loading for currency
This commit is contained in:
parent
0c8499811f
commit
be14d007ce
|
@ -86,7 +86,7 @@ const CurrencyDropdown = ({ depositAmount }: CurrencyDropdownProps) => {
|
||||||
<YStack space={'$2'}>
|
<YStack space={'$2'}>
|
||||||
<XStack style={{ justifyContent: 'space-between' }}>
|
<XStack style={{ justifyContent: 'space-between' }}>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
{isCurrencyLoading ? LOADING : currency}
|
{isCurrencyLoading ? '' : currency}
|
||||||
</Text>
|
</Text>
|
||||||
<DropdownMenu onOpenChange={changeIsOpenHandler}>
|
<DropdownMenu onOpenChange={changeIsOpenHandler}>
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Reference in New Issue