From 93e9e88431f77ca777f2bc7b7efacbb22d778fdd Mon Sep 17 00:00:00 2001 From: katspaugh Date: Mon, 13 Nov 2023 10:16:12 +0100 Subject: [PATCH] Restore default option to Relay --- src/components/tx/SignOrExecuteForm/ExecuteForm.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/tx/SignOrExecuteForm/ExecuteForm.tsx b/src/components/tx/SignOrExecuteForm/ExecuteForm.tsx index 0df4e852ce..628c5877f9 100644 --- a/src/components/tx/SignOrExecuteForm/ExecuteForm.tsx +++ b/src/components/tx/SignOrExecuteForm/ExecuteForm.tsx @@ -55,9 +55,7 @@ const ExecuteForm = ({ // SC wallets can relay fully signed transactions const [canWalletRelay] = useWalletCanRelay(safeTx) // We default to relay - const [executionMethod, setExecutionMethod] = useState( - canWalletRelay ? ExecutionMethod.RELAY : ExecutionMethod.WALLET, - ) + const [executionMethod, setExecutionMethod] = useState(ExecutionMethod.RELAY) // The transaction can/will be relayed const willRelay = executionMethod === ExecutionMethod.RELAY const hasRelays = !!relays?.remaining