Skip to content
Merged
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
3 changes: 1 addition & 2 deletions src/hooks/useSearchState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ export const useSearchState = () => {
if (patch.sortBy && patch.sortBy !== query.sortBy)
updateSort(patch.sortBy as SearchQuery['sortBy']);
if (patch.filters) updateFilters(patch.filters as Partial<SearchFilters>);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [searchParams]);
}, [query, searchParams, updateFilters, updateSearchText, updateSort]);

// -------------------------------------------------------------------------
// Share helper — returns the current canonical URL for sharing
Expand Down
Loading