Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Use i18next-browser-languagedetector (fixes #170) #1057

Use i18next-browser-languagedetector (fixes #170)

Use i18next-browser-languagedetector (fixes #170) #1057

Triggered via pull request May 28, 2024 20:23
Status Failure
Total duration 25s
Artifacts

main.yml

on: pull_request
node-tests-and-build
16s
node-tests-and-build
docker-release
0s
docker-release
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
node-tests-and-build
Process completed with exit code 1.
node-tests-and-build: components/blocks/question-results.tsx#L76
Unexpected any. Specify a different type
node-tests-and-build: components/blocks/question-results.tsx#L161
Unexpected any. Specify a different type
node-tests-and-build: components/pages/app/page-templates/list-page-jump-to.tsx#L17
Unexpected any. Specify a different type
node-tests-and-build: components/pages/verify/index.tsx#L7
'i18n' is defined but never used
node-tests-and-build: components/pages/verify/single-page.tsx#L4
'i18n' is defined but never used
node-tests-and-build: hooks/use-pagination-router.tsx#L30
React Hook useEffect has missing dependencies: 'isFirstRender', 'router.pathname', and 'routerPage'. Either include them or remove the dependency array
node-tests-and-build: hooks/use-pagination-router.tsx#L34
React Hook useEffect has missing dependencies: 'currentPage' and 'onPageChange'. Either include them or remove the dependency array. If 'onPageChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
node-tests-and-build: hooks/use-voconi-sdk.tsx#L20
Unexpected any. Specify a different type
node-tests-and-build: hooks/use-voconi-sdk.tsx#L47
React Hook useCallback has missing dependencies: 'setAlertMessage' and 't'. Either include them or remove the dependency array
node-tests-and-build: hooks/use-voconi-sdk.tsx#L73
React Hook useCallback has missing dependencies: 'property' and 'stats'. Either include them or remove the dependency array. If 'setPropertyState' needs the current value of 'property', you can also switch to useReducer instead of useState and read 'property' in the reducer