mirror of https://github.com/kortix-ai/suna.git
chore(dev): upgrade dialog hotfix
This commit is contained in:
parent
b557da578e
commit
73f78f176a
|
@ -50,7 +50,7 @@ export const useInitiateAgentWithInvalidation = () => {
|
||||||
if (errorMessage.toLowerCase().includes("payment required")) {
|
if (errorMessage.toLowerCase().includes("payment required")) {
|
||||||
console.log('Opening payment required modal');
|
console.log('Opening payment required modal');
|
||||||
onOpen("paymentRequiredDialog");
|
onOpen("paymentRequiredDialog");
|
||||||
return; // Don't show other error toasts
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue