Chore: Fix notion, more UI enhancement #130
Annotations
3 warnings
lint:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L252
Assignments to the 'notionSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
lint:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L263
Assignments to the 'onedriveSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
lint:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L276
Assignments to the 'websiteSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|