@@ -2,15 +2,15 @@ import SvgInset from '@/components/SvgInset';
22import { showSuccess } from '@/components/toast' ;
33import { formatAmountToClient , formatCurrencyV2 } from '@/utils/format' ;
44import { removeTrailingZeroes } from '@/utils/string' ;
5- import { Flex , Text } from '@chakra-ui/react' ;
5+ import { Center , Flex , Text } from '@chakra-ui/react' ;
66import { BigNumber } from 'bignumber.js' ;
77import copy from 'copy-to-clipboard' ;
88import { memo , useMemo } from 'react' ;
99import s from './styles.module.scss' ;
1010import QRCodeGenerator from '@components/QRCodeGenerator' ;
1111import { BridgeToken , IDepositQRCode } from '@/modules/Bridge/types' ;
12- import SkeletonPayment from '@components/Skeleton' ;
1312import { useWagmiContext } from '@components/WagmiConnector/WagmiProvider' ;
13+ import Loading from '@components/Loading' ;
1414
1515const CDN_URL_ICONS = 'https://cdn.nakaswap.org' + '/naka/icons' ;
1616
@@ -121,7 +121,7 @@ const QRCodeBox = (props: IQRCodeBoxAutoEstimate) => {
121121 return str . charAt ( 0 ) . toUpperCase ( ) + str . slice ( 1 ) ;
122122 }
123123
124- if ( loading || ! depositQRCode ?. depositAddress ) return < SkeletonPayment / >;
124+ if ( loading || ! depositQRCode ?. depositAddress ) return < Center > < Loading /> </ Center > ;
125125
126126 return (
127127 < Flex direction = "column" >
0 commit comments