diff --git a/examples/conversational-ai/talk-to-santa/app/(main)/(santa)/page.tsx b/examples/conversational-ai/talk-to-santa/app/(main)/(santa)/page.tsx index 2212dbd..3455a21 100644 --- a/examples/conversational-ai/talk-to-santa/app/(main)/(santa)/page.tsx +++ b/examples/conversational-ai/talk-to-santa/app/(main)/(santa)/page.tsx @@ -307,7 +307,7 @@ export default function Page() { )} - {conversation.status === "connected" && ( + {conversation.status === "connected" && !isEndingCall && (
{ + setIsOpen(false); await conversation.endSession(); window.location.reload(); }} @@ -142,7 +143,10 @@ export function SantaCard({