Skip to content
Merged

fix?? #597

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/FeedFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
// Update filters when debounced search changes
React.useEffect(() => {
onFiltersChange({ search: debouncedSearch || undefined })
}, [debouncedSearch, onFiltersChange])
}, [debouncedSearch])

Check warning on line 139 in src/components/FeedFilters.tsx

View workflow job for this annotation

GitHub Actions / PR

React Hook React.useEffect has a missing dependency: 'onFiltersChange'. Either include it or remove the dependency array. If 'onFiltersChange' changes too often, find the parent component that defines it and wrap that definition in useCallback

// Sync local state with prop when search prop changes externally
React.useEffect(() => {
Expand Down
Loading