From 73f78f176a4b1a0421a5273cf7ef5061feff2162 Mon Sep 17 00:00:00 2001 From: Soumyadas15 Date: Sun, 25 May 2025 11:19:55 +0530 Subject: [PATCH] chore(dev): upgrade dialog hotfix --- frontend/src/hooks/react-query/dashboard/use-initiate-agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/react-query/dashboard/use-initiate-agent.ts b/frontend/src/hooks/react-query/dashboard/use-initiate-agent.ts index 128e4911..7885bd64 100644 --- a/frontend/src/hooks/react-query/dashboard/use-initiate-agent.ts +++ b/frontend/src/hooks/react-query/dashboard/use-initiate-agent.ts @@ -50,7 +50,7 @@ export const useInitiateAgentWithInvalidation = () => { if (errorMessage.toLowerCase().includes("payment required")) { console.log('Opening payment required modal'); onOpen("paymentRequiredDialog"); - return; // Don't show other error toasts + return; } } }