Skip to content

fix bug in protected routes components #506

fix bug in protected routes components

fix bug in protected routes components #506

Triggered via pull request December 10, 2024 09:56
Status Failure
Total duration 38s
Artifacts

build-and-lint-on-pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/components/ProtectedAuthorizedUserRoute.tsx#L29
React Hook useEffect has a missing dependency: 'maybeUser'. Either include it or remove the dependency array
build: src/components/ProtectedRoute.tsx#L47
React Hook useEffect has missing dependencies: 'fetchUserProfile' and 'setUser'. Either include them or remove the dependency array