Fix HistoryPage stale appliedQuery effect and add mount query regression test

This commit is contained in:
2026-04-19 19:36:44 +02:00
parent 5446f6c3e1
commit 76c9f388a8
3 changed files with 26 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ Issues are grouped by category and ordered roughly by severity. Each entry descr
---
### TASK-002 — `HistoryPage` filter effect has a stale `appliedQuery` dependency
### TASK-002 — `HistoryPage` filter effect has a stale `appliedQuery` dependency (done)
**Where found:** `frontend/src/pages/HistoryPage.tsx` lines 214230. The `useEffect` lists `appliedQuery` as a dependency, reads it inside the effect, and then calls `setAppliedQuery` — which triggers the same effect again immediately.