@@ -36,7 +36,7 @@ export interface ShowAction {
3636 typeModal : ModalEnums ;
3737}
3838const WithdrawAssets = observer ( ( { setStep } : WithdrawAssets ) => {
39- const { quickAssetsStore , balanceStore } = useStores ( ) ;
39+ const { balanceStore } = useStores ( ) ;
4040
4141 const [ activeAsset , setActiveAsset ] = useState < AssetBlockProps [ "token" ] > ( ) ;
4242 const [ amount , setAmount ] = useState ( BN . ZERO ) ;
@@ -50,10 +50,10 @@ const WithdrawAssets = observer(({ setStep }: WithdrawAssets) => {
5050
5151 const balanceList = balanceStore . formattedBalanceInfoList ;
5252
53- const closeAssets = ( ) => {
54- quickAssetsStore . setCurrentStep ( 0 ) ;
55- quickAssetsStore . setQuickAssets ( false ) ;
56- } ;
53+ // const closeAssets = () => {
54+ // quickAssetsStore.setCurrentStep(0);
55+ // quickAssetsStore.setQuickAssets(false);
56+ // };
5757
5858 const handleClick = async ( ) => {
5959 if ( ! activeAsset || ! amount ) return ;
@@ -141,16 +141,16 @@ const BackButton = styled.img`
141141 }
142142` ;
143143
144- const CloseButton = styled . img `
145- width: 30px;
146- height: 30px;
147- background: ${ ( { theme } ) => theme . colors . bgIcon } ;
148- padding: 8px;
149- border-radius: 100px;
150- &:hover {
151- cursor: pointer;
152- }
153- ` ;
144+ // const CloseButton = styled.img`
145+ // width: 30px;
146+ // height: 30px;
147+ // background: ${({ theme }) => theme.colors.bgIcon };
148+ // padding: 8px;
149+ // border-radius: 100px;
150+ // &:hover {
151+ // cursor: pointer;
152+ // }
153+ // `;
154154
155155const SmartFlexContainer = styled ( SmartFlex ) `
156156 width: 100%;
0 commit comments