From b243a18e01399aba01f960dd607a3828cf5f5788 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 30 May 2026 23:40:08 -0400 Subject: [PATCH] fix(eslint): add missing useCallback deps, remove stale disable directives - useMessageSearch: add fromTs/toTs to useCallback dep array (exhaustive-deps error) - useMessageSearch: restore eslint-disable on the correct line for the `as any` cast - VoiceMessageRecorder: remove two eslint-disable directives for rules that are globally off (jsx-a11y/media-has-caption) or not enabled (react/no-array-index-key) Co-Authored-By: Claude Sonnet 4.6 --- src/app/components/VoiceMessageRecorder.tsx | 2 -- src/app/features/message-search/useMessageSearch.ts | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/components/VoiceMessageRecorder.tsx b/src/app/components/VoiceMessageRecorder.tsx index 77f40fe87..352ee7ee7 100644 --- a/src/app/components/VoiceMessageRecorder.tsx +++ b/src/app/components/VoiceMessageRecorder.tsx @@ -228,7 +228,6 @@ export function VoiceMessageRecorder({ onSend, onError }: VoiceRecorderProps) { > {waveformBars.map((h, i) => (
{previewUrl && ( - // eslint-disable-next-line jsx-a11y/media-has-caption