Skip to content

Merge pull request #168 from xiaokjxiao/main #154

Merge pull request #168 from xiaokjxiao/main

Merge pull request #168 from xiaokjxiao/main #154

Triggered via push December 17, 2024 13:30
Status Success
Total duration 24s
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
build (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (18.x): frontend/src/components/PersistLogin.tsx#L24
React Hook useEffect has a missing dependency: 'refresh'. Either include it or remove the dependency array
build (18.x): frontend/src/hooks/car-hooks/useCars.ts#L38
React Hook useCallback has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array. Outer scope values like 'fetchWithAuth' aren't valid dependencies because mutating them doesn't re-render the component
build (18.x): frontend/src/hooks/driver-hooks/useDrivers.ts#L37
React Hook useCallback has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/driver-hooks/useGetDriver.ts#L48
React Hook useEffect has missing dependencies: 'id', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/registration-hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/useGetViolators.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/useNotifications.ts#L41
React Hook useEffect has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/hooks/useUser.ts#L40
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (18.x): frontend/src/main.tsx#L36
Fast refresh only works when a file has exports. Move your component(s) to a separate file
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (20.x): frontend/src/components/PersistLogin.tsx#L24
React Hook useEffect has a missing dependency: 'refresh'. Either include it or remove the dependency array
build (20.x): frontend/src/hooks/car-hooks/useCars.ts#L38
React Hook useCallback has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array. Outer scope values like 'fetchWithAuth' aren't valid dependencies because mutating them doesn't re-render the component
build (20.x): frontend/src/hooks/driver-hooks/useDrivers.ts#L37
React Hook useCallback has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/driver-hooks/useGetDriver.ts#L48
React Hook useEffect has missing dependencies: 'id', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/registration-hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/useGetViolators.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/useNotifications.ts#L41
React Hook useEffect has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/hooks/useUser.ts#L40
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (20.x): frontend/src/main.tsx#L36
Fast refresh only works when a file has exports. Move your component(s) to a separate file
build (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (22.x): frontend/src/components/PersistLogin.tsx#L24
React Hook useEffect has a missing dependency: 'refresh'. Either include it or remove the dependency array
build (22.x): frontend/src/hooks/car-hooks/useCars.ts#L38
React Hook useCallback has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array. Outer scope values like 'fetchWithAuth' aren't valid dependencies because mutating them doesn't re-render the component
build (22.x): frontend/src/hooks/driver-hooks/useDrivers.ts#L37
React Hook useCallback has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/driver-hooks/useGetDriver.ts#L48
React Hook useEffect has missing dependencies: 'id', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/registration-hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/useGetRegistration.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/useGetViolators.ts#L42
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/useNotifications.ts#L41
React Hook useEffect has missing dependencies: 'auth', 'navigate', and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/hooks/useUser.ts#L40
React Hook useEffect has missing dependencies: 'navigate' and 'refresh'. Either include them or remove the dependency array
build (22.x): frontend/src/main.tsx#L36
Fast refresh only works when a file has exports. Move your component(s) to a separate file