Chore: More UI improvement, add unsupported state and file size #194
Annotations
2 errors and 4 warnings
lint
Property 'unsupported' is missing in type '{ readonly "pending-approval": [React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>, ""]; ... 4 more ...; readonly unapproved: [...]; }' but required in type 'Record<KnowledgeFileState, [ElementType<any, keyof IntrinsicElements>, string]>'.
|
lint
Process completed with exit code 2.
|
lint:
ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx#L28
'/home/runner/work/otto8/otto8/ui/admin/app/lib/model/knowledge.ts' imported multiple times
|
lint:
ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx#L29
'/home/runner/work/otto8/otto8/ui/admin/app/lib/model/knowledge.ts' imported multiple times
|
lint:
ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx#L184
React Hook useMemo has a missing dependency: 'knowledgeSource'. Either include it or remove the dependency array
|
lint:
ui/admin/app/components/knowledge/OAuthSignDialog.tsx#L45
React Hook useEffect has a missing dependency: 'knowledgeSource'. Either include it or remove the dependency array. If 'setIsAuthCheckingDialogOpen' needs the current value of 'knowledgeSource', you can also switch to useReducer instead of useState and read 'knowledgeSource' in the reducer
|