Memoize dashboard and history table columns
This commit is contained in:
@@ -128,7 +128,7 @@ Issues are grouped by category and ordered roughly by severity. Each entry descr
|
||||
|
||||
---
|
||||
|
||||
### TASK-007 — Setup page password validation too weak
|
||||
### TASK-007 — Setup page password validation too weak (done)
|
||||
|
||||
**Where found:** `frontend/src/pages/SetupPage.tsx`, `validate()` function. Only `masterPassword.length < 8` is checked.
|
||||
|
||||
@@ -148,7 +148,9 @@ Issues are grouped by category and ordered roughly by severity. Each entry descr
|
||||
|
||||
---
|
||||
|
||||
### TASK-008 — `buildBanColumns` and `HISTORY_COLUMNS` recreated on every render
|
||||
### TASK-008 — `buildBanColumns` and `HISTORY_COLUMNS` recreated on every render (done)
|
||||
|
||||
**Where fixed:** `frontend/src/components/BanTable.tsx`, `frontend/src/pages/HistoryPage.tsx`
|
||||
|
||||
**Where found:**
|
||||
- `frontend/src/components/BanTable.tsx` — `buildBanColumns(styles)` called unconditionally in the render body.
|
||||
|
||||
Reference in New Issue
Block a user