Symptom
Changing the "Status Filter" dropdown in the sidebar has no visible effect -- the course list does not change.
Expected: Selecting "published", "draft", or "archived" should filter the displayed courses.
Context
The useCourses hook has a useEffect that fetches and filters courses. The effect dependency array determines when it re-runs. The hook uses categoryFilter state inside the effect to filter results, but the effect may not re-run when that state changes.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code