Skip to content

Add static translations dropdown #13373

Add static translations dropdown

Add static translations dropdown #13373

Triggered via pull request February 8, 2025 01:51
Status Failure
Total duration 1m 48s
Artifacts

lint-changed.yml

on: pull_request
Changed files ESLint check
1m 41s
Changed files ESLint check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Changed files ESLint check: src/components/Attachments/AttachmentView/index.tsx#L270
'imageSource' is assigned a value but never used
Changed files ESLint check: src/components/SelectionList/ChatListItem.tsx#L14
'useTranslateLive' is defined but never used
Changed files ESLint check: src/hooks/useTranslateLive.ts#L31
Unsafe member access .html on an `error` typed value
Changed files ESLint check: src/hooks/useTranslateLive.ts#L35
Unsafe assignment of an `any` value
Changed files ESLint check: src/hooks/useTranslateLive.ts#L37
Unsafe member access .translatedText on an `any` value
Changed files ESLint check: src/hooks/useTranslateLive.ts#L41
Only actions should directly set or modify Onyx data. Please move this logic into a suitable action
Changed files ESLint check: src/hooks/useTranslateLive.ts#L51
Unsafe assignment of an `any` value
Changed files ESLint check: src/hooks/useTranslateLive.ts#L60
React Hook useEffect has missing dependencies: 'isAutoTranslateMessagesEnabled', 'preferredLocale', 'reportAction.actorAccountID', 'reportAction.message', and 'session?.accountID'. Either include them or remove the dependency array