Repository navigation
Annotations
10 warnings
|
Run npm run lint:
src/renderer/components/ComposerQuestionModal.tsx#L293
React Hook useEffect has a missing dependency: 'pending.questions'. Either include it or remove the dependency array. If 'setAnswers' needs the current value of 'pending.questions', you can also switch to useReducer instead of useState and read 'pending.questions' in the reducer
|
|
Run npm run lint:
src/renderer/components/BrowserPanel.tsx#L582
React Hook useCallback has a missing dependency: 'activeTab'. Either include it or remove the dependency array
|
|
Run npm run lint:
src/renderer/components/BrowserPanel.tsx#L510
React Hook useEffect has a missing dependency: 'activeTab'. Either include it or remove the dependency array
|
|
Run npm run lint:
src/renderer/components/BrowserPanel.tsx#L455
React Hook useEffect has a missing dependency: 'pendingAccess'. Either include it or remove the dependency array
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/tools/todo-tool.tsx#L134
The 'newTodos' logical expression could make the dependencies of useMemo Hook (at line 139) change on every render. To fix this, wrap the initialization of 'newTodos' in its own useMemo() Hook
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/tools/todo-tool.tsx#L133
The 'oldTodos' logical expression could make the dependencies of useMemo Hook (at line 139) change on every render. To fix this, wrap the initialization of 'oldTodos' in its own useMemo() Hook
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/question/question-tool.tsx#L69
React Hook useEffect has a missing dependency: 'part.input?.questionIndex'. Either include it or remove the dependency array. If 'setLocalIndex' needs the current value of 'part.input.questionIndex', you can also switch to useReducer instead of useState and read 'part.input.questionIndex' in the reducer
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/question/question-prompt.tsx#L113
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/question/question-prompt.tsx#L107
React Hook useEffect has a missing dependency: 'initialAnswer'. Either include it or remove the dependency array
|
|
Run npm run lint:
src/renderer/chat/components/agent-elements/message-list.tsx#L1519
React Hook useLayoutEffect has a missing dependency: 'initialScrollBehavior'. Either include it or remove the dependency array
|
background
wait
wait-all
cancel
parallel
Loading