Remove loading from create only on error

This commit is contained in:
abefernan
2024-06-27 15:43:28 +02:00
parent 2417014f4f
commit 838e1dfc65
+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);
}
};