From 45b133d82aef24ec151b214bbf2e133568e61a41 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Tue, 11 Aug 2026 17:58:30 -0700 Subject: [PATCH] [eric] voice: mark the dev-only inject test seam's promise as intentionally floating --- frontend/src/shared/voice/VoiceDictationContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/shared/voice/VoiceDictationContext.tsx b/frontend/src/shared/voice/VoiceDictationContext.tsx index bc3dff3b..960e7384 100644 --- a/frontend/src/shared/voice/VoiceDictationContext.tsx +++ b/frontend/src/shared/voice/VoiceDictationContext.tsx @@ -112,7 +112,7 @@ export function VoiceDictationProvider({ children }: { children: React.ReactNode useEffect(() => { if (process.env.NODE_ENV === 'production') return undefined; const onSnap = (): void => snapshotInjectTarget(); - const onInject = (e: Event): void => { injectAtFocus(((e as CustomEvent<{ text?: string }>).detail?.text) ?? ''); }; + const onInject = (e: Event): void => { void injectAtFocus(((e as CustomEvent<{ text?: string }>).detail?.text) ?? ''); }; window.addEventListener('osw-test:snapshot', onSnap); window.addEventListener('osw-test:inject', onInject as EventListener); return () => {