chore(lint): fix react-hooks/exhaustive-deps warnings
- App.tsx: replace per-field ui.navItems/ui.paletteQuery with the ui object so the memo captures every accessed field. - ConsoleView.tsx: add eslint-disable for the logRevision dep; it is intentionally tracked to force ref re-evaluation.
This commit is contained in:
1 parent
bc1f24d60c
commit
d42d895f2a
2 files changed
+2
-3
No files matched your search
@@ -84,14 +84,12 @@ export function App() {
|
||||
company.companyGoals,
|
||||
company.companyProjects,
|
||||
), [
|
||||
ui.navItems,
|
||||
ui.paletteQuery,
|
||||
ui,
|
||||
company.companyAgents,
|
||||
company.tasks,
|
||||
company.runs,
|
||||
company.companyGoals,
|
||||
company.companyProjects,
|
||||
|
||||
]);
|
||||
|
||||
const paletteActions = useMemo(
|
||||
|
||||
Reference in new issue
Block a user