Skip to content

Commit ead68e7

Browse files
author
rsi-pr-agent
committed
fixup! fix(desktop): keep dictation transcribing across thread switches (#1684)
Fork-Domain: voice-input Fork-Tier: bugfix Fork-Upstreamable: no
1 parent 89bc6e7 commit ead68e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/voice-input/VoiceInputProvider.fork.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const DesktopVoiceContextFork = createContext<ReturnType<
9999
/** Window-owned lifetime: navigating among threads or settings does not dispose transcription. */
100100
export function DesktopVoiceInputProviderFork({ children }: { children: ReactNode }) {
101101
const [runtime] = useState(createDesktopVoiceRuntimeFork);
102-
// oxlint-disable-next-line t3code/react-effect-budget -- subscribes to document `visibilitychange` and disposes the voice session and recorder on unmount.
102+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- subscribes to document `visibilitychange` and disposes the voice session and recorder on unmount.
103103
useEffect(() => {
104104
const interrupt = () => {
105105
if (document.hidden) void runtime.session.controller.appMovedToBackground();

0 commit comments

Comments
 (0)