Remove loading from create only on error

This commit is contained in:
abefernan
2024-06-27 15:41:30 +02:00
parent 9bb52cd9ab
commit bb1b3da42d
+1 -1
View File
@@ -100,8 +100,8 @@ const CreateTxForm = ({ router, senderAddress, accountOnChain }: CreateTxFormPro
description: "Failed to create transaction",
fullError: e instanceof Error ? e : undefined,
});
} finally {
setProcessing(false);
} finally {
toast.dismiss(loadingToastId);
}
};