From e7110d9eee36d74757601be5589ee6fafe2a8ef2 Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:42:42 +0200 Subject: [PATCH] Revert "Remove loading from create only on error" This reverts commit bb1b3da42d9c2fe0231412f46883cae3ff2d40c7. --- components/forms/CreateTxForm/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/forms/CreateTxForm/index.tsx b/components/forms/CreateTxForm/index.tsx index bbff94d..c6c9178 100644 --- a/components/forms/CreateTxForm/index.tsx +++ b/components/forms/CreateTxForm/index.tsx @@ -100,8 +100,8 @@ const CreateTxForm = ({ router, senderAddress, accountOnChain }: CreateTxFormPro description: "Failed to create transaction", fullError: e instanceof Error ? e : undefined, }); - setProcessing(false); } finally { + setProcessing(false); toast.dismiss(loadingToastId); } };