fix clear bug

This commit is contained in:
Bill He
2023-08-28 15:17:18 -07:00
parent b1a3fb6dc1
commit 06734a2f38
@@ -101,11 +101,11 @@ export const DepositForm = ({ onDeposit, onError }: DepositFormProps) => {
});
return () => {
abacusStateManager.clearTransferInputValues();
abacusStateManager.setTransferValue({
field: TransferInputField.type,
value: null,
});
abacusStateManager.clearTransferInputValues();
};
}, []);