diff --git a/agents/nextjs/quickstart/example/app/page.tsx b/agents/nextjs/quickstart/example/app/page.tsx index 84494f65..9c399555 100644 --- a/agents/nextjs/quickstart/example/app/page.tsx +++ b/agents/nextjs/quickstart/example/app/page.tsx @@ -6,7 +6,7 @@ import { useConversationStatus, } from "@elevenlabs/react"; import { - type MutableRefObject, + type RefObject, useCallback, useEffect, useRef, @@ -37,7 +37,7 @@ type VoiceAgentPageProps = { setSessionError: (value: string | null) => void; setStarting: (value: boolean) => void; starting: boolean; - nextLineId: MutableRefObject; + nextLineId: RefObject; }; type ConversationMessage = {