diff --git a/sample-apps/react/react-dogfood/components/ActiveCallHeader.tsx b/sample-apps/react/react-dogfood/components/ActiveCallHeader.tsx index bbfa1e05c7..f27c9cd816 100644 --- a/sample-apps/react/react-dogfood/components/ActiveCallHeader.tsx +++ b/sample-apps/react/react-dogfood/components/ActiveCallHeader.tsx @@ -48,9 +48,9 @@ const formatTime = (timeInSeconds: number) => { }; const Elapsed = () => { - const { useCallDuration } = useCallStateHooks(); - const duration = useCallDuration(); - const elapsed = formatTime(duration); + const { useCallSessionDuration } = useCallStateHooks(); + const sessionDuration = useCallSessionDuration(); + const elapsed = formatTime(sessionDuration); return (