Skip to content

Chore: Fix notion, more UI enhancement #130

Chore: Fix notion, more UI enhancement

Chore: Fix notion, more UI enhancement #130

Triggered via pull request October 31, 2024 00:45
Status Success
Total duration 1m 37s
Artifacts

admin.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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