Add multiple file upload to the AI assistant #55
Annotations
9 errors and 3 warnings
build-and-test:
frontend/src/components/QuestionInput/FileUploadPreview.tsx#L20
Replace `·className={`usa-icon·margin-right-05·${styles.filePreviewIcon}`}·aria-hidden="true"·focusable="false"·role="img"` with `⏎········className={`usa-icon·margin-right-05·${styles.filePreviewIcon}`}⏎········aria-hidden="true"⏎········focusable="false"⏎········role="img"⏎······`
|
build-and-test:
frontend/src/pages/chat/Chat.test.tsx#L8
'UploadedFile' is defined but never used. Allowed unused vars must match /^_/u
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L5
'CommandBarButton' is defined but never used. Allowed unused vars must match /^_/u
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L845
'disabledButton' is assigned a value but never used. Allowed unused vars must match /^_/u
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L926
Replace `·className={`display-flex·flex-column·flex-align-end·${styles.chatMessageUserMessage}`}` with `⏎··························className={`display-flex·flex-column·flex-align-end·${styles.chatMessageUserMessage}`}⏎························`
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L933
Replace `⏎····································className={"margin-bottom-1"}⏎····································key={file.name}⏎··································` with `·className={"margin-bottom-1"}·key={file.name}`
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L937
The element img has an implicit role of img. Defining this explicitly is redundant and should be avoided
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L1025
The element button has an implicit role of button. Defining this explicitly is redundant and should be avoided
|
build-and-test
Process completed with exit code 1.
|
build-and-test:
frontend/src/components/Answer/Answer.tsx#L73
React Hook useEffect has a missing dependency: 'answer'. Either include it or remove the dependency array
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L105
React Hook useEffect has a missing dependency: 'toggleErrorDialog'. Either include it or remove the dependency array
|
build-and-test:
frontend/src/pages/chat/Chat.tsx#L764
React Hook useEffect has a missing dependency: 'getUserInfoList'. Either include it or remove the dependency array
|