Fix: don't show deleted in progress item #134
Annotations
2 errors and 6 warnings
Run linter
Property 'deleted' is missing in type '{ id: string; fileName: string; agentID: string; approved: true; created: string; state: "pending-approval"; knowledgeSetID: string; knowledgeSourceID: string; url: string; updatedAt: string; checksum: string; lastRunID: string; error: string; }' but required in type 'KnowledgeFile'.
|
Run linter
Process completed with exit code 2.
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L262
React Hook useEffect has a missing dependency: 'notionSource?.state'. Either include it or remove the dependency array
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L284
React Hook useEffect has a missing dependency: 'onedriveSource?.state'. Either include it or remove the dependency array
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L306
React Hook useEffect has a missing dependency: 'websiteSource?.state'. Either include it or remove the dependency array
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L309
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
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L320
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
|
Run linter:
ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L333
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
|
Loading