Skip to content

add dynamic data to useeffect dep array #105

add dynamic data to useeffect dep array

add dynamic data to useeffect dep array #105

Triggered via pull request November 29, 2023 05:45
Status Success
Total duration 1m 2s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
linting: client/src/components/FAQs.tsx#L61
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
linting: client/src/components/Users/Auth/SetNewPassword.tsx#L155
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
linting: client/src/components/Users/Auth/SignUpCitizen/SignUpCitizen.tsx#L59
React Hook useEffect has missing dependencies: 'formData' and 'registerUserMutation'. Either include them or remove the dependency array
linting: client/src/components/Users/Auth/SignUpCitizen/SignUpCitizen.tsx#L66
React Hook useEffect has missing dependencies: 'image', 'updateProfileMutation', and 'user'. Either include them or remove the dependency array
linting: client/src/providers/UserProvider.tsx#L65
React Hook React.useEffect has a missing dependency: 'setUserTimeout'. Either include it or remove the dependency array
linting: client/src/views/EmailVerification.tsx#L33
React Hook React.useEffect has a missing dependency: 'history'. Either include it or remove the dependency array
linting: client/src/views/Login.tsx#L14
React Hook useEffect has a missing dependency: 'modalContext'. Either include it or remove the dependency array
linting: client/src/views/SearchResults.tsx#L131
React Hook React.useEffect has a missing dependency: 'fetchSearchData'. Either include it or remove the dependency array