Skip to content

Commit 89bc6e7

Browse files
author
rsi-pr-agent
committed
fixup! feat(desktop): record dictation into editable chat drafts (#1675)
Fork-Domain: voice-input Fork-Tier: core
1 parent 7b70026 commit 89bc6e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function RecordingWaveformFork({
2020
const host = useRef<HTMLDivElement>(null);
2121
const [barCount, setBarCount] = useState(64);
2222
const [meter, setMeter] = useState({ levels: Array<number>(64).fill(0), seconds: 0 });
23-
// oxlint-disable-next-line t3code/react-effect-budget -- samples the recorder's level on an interval timer while recording.
23+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- samples the recorder's level on an interval timer while recording.
2424
useEffect(() => {
2525
if (!recording) return;
2626
const started = performance.now();
@@ -38,7 +38,7 @@ function RecordingWaveformFork({
3838
}, 100);
3939
return () => window.clearInterval(timer);
4040
}, [recorder, recording]);
41-
// oxlint-disable-next-line t3code/react-effect-budget -- observes the waveform host's DOM size to fit the bar count.
41+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- observes the waveform host's DOM size to fit the bar count.
4242
useEffect(() => {
4343
const element = host.current;
4444
if (!element) return;

0 commit comments

Comments
 (0)