Skip to content

fix: remove redundant filter callback dependencies - #573

Merged
YOGESH-08 merged 1 commit into
CodeChefVIT:stagingfrom
diyabajoria:fix/filter-dependencies-462
Nov 15, 2026
Merged

YOGESH-08 merged 1 commit into
CodeChefVIT:stagingfrom
diyabajoria:fix/filter-dependencies-462

Conversation

@diyabajoria

Copy link
Copy Markdown
Contributor

Closes #462.

Removed unnecessary state setters from handleApplyFilters dependencies, keeping only router and subject. No behavior changes.

Addresses CodeChefVIT#462 by retaining only router and subject in handleApplyFilters dependencies. React state setters have stable identities, so application behavior is unchanged.

Validation: git diff --check passed. Targeted lint and production build were attempted but stalled without diagnostics and were stopped.
@YOGESH-08
YOGESH-08 merged commit ca37ff1 into CodeChefVIT:staging Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unnecessary params in useEffect dependencies in filterContent.tsx

2 participants