[eric] voice: mark the dev-only inject test seam's promise as intentionally floating

This commit is contained in:
ciregenz
2026-08-11 17:58:30 -07:00
parent f5b9a8ae50
commit 45b133d82a
@@ -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 () => {