From ff03fb3d33671518e26ce1878e9a5fc8fef85123 Mon Sep 17 00:00:00 2001 From: Leon <37091946+leonkho@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:48:15 +0800 Subject: [PATCH] Disable FE check on withdraw form (#725) * Disable FE check on withdraw form * Restrict vault disabled checks for SOL vault --- .../Vault/VaultActionsForm/v2/VaultV2WithdrawForm.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/Vault/VaultActionsForm/v2/VaultV2WithdrawForm.tsx b/webapp/src/components/Vault/VaultActionsForm/v2/VaultV2WithdrawForm.tsx index f9defd546..3eebe6d70 100644 --- a/webapp/src/components/Vault/VaultActionsForm/v2/VaultV2WithdrawForm.tsx +++ b/webapp/src/components/Vault/VaultActionsForm/v2/VaultV2WithdrawForm.tsx @@ -357,7 +357,11 @@ const VaultV2WithdrawForm: React.FC = ({ if (active) { return ( { onFormSubmit(); }} @@ -389,6 +393,7 @@ const VaultV2WithdrawForm: React.FC = ({ onFormSubmit, setShowConnectModal, vaultActionForm.withdrawOption, + vaultOption, ]); const formFooter = useMemo(() => {