Skip to content

Fixing Semgrep Error in Frontend #14

Fixing Semgrep Error in Frontend

Fixing Semgrep Error in Frontend #14

Triggered via push December 4, 2023 00:43
Status Success
Total duration 1m 28s
Artifacts

eslint.yml

on: push
Matrix: es-lint
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
es-lint (16.x): frontend/src/authentication/contexts/GenericAuthContext.js#L108
React Hook useEffect has missing dependencies: 'getAuthenticatedUser' and 'processLoadingStateChange'. Either include them or remove the dependency array
es-lint (16.x): frontend/src/authentication/contexts/GenericAuthContext.js#L116
React Hook useEffect has a missing dependency: 'processLoadingStateChange'. Either include it or remove the dependency array
es-lint (16.x): frontend/src/authentication/contexts/GenericAuthContext.js#L152
React Hook useEffect has a missing dependency: 'getAuthenticatedUser'. Either include it or remove the dependency array
es-lint (16.x): frontend/src/authentication/contexts/GenericAuthContext.js#L171
React Hook useEffect has a missing dependency: 'auth'. Either include it or remove the dependency array
es-lint (16.x): frontend/src/design/components/popovers/NotificationsPopover.js#L51
React Hook useCallback has a missing dependency: 'fetchItems'. Either include it or remove the dependency array
es-lint (16.x): frontend/src/design/components/popovers/NotificationsPopover.js#L101
React Hook useEffect has a missing dependency: 'getCountInbox'. Either include it or remove the dependency array