Skip to content

Fix Bug in Academy: Not remembering scroll position. #1478

Fix Bug in Academy: Not remembering scroll position.

Fix Bug in Academy: Not remembering scroll position. #1478

Triggered via pull request August 16, 2024 00:46
Status Success
Total duration 16m 29s
Artifacts

verify-build-publish.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
job: exercise-src/react-native/16-security/01-problem/src/services/auth/AuthProvider.tsx#L25
The 'signIn' function makes the dependencies of useMemo Hook (at line 106) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'signIn' in its own useCallback() Hook
job: exercise-src/react-native/16-security/01-problem/src/services/auth/AuthProvider.tsx#L48
The 'signOut' function makes the dependencies of useMemo Hook (at line 106) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'signOut' in its own useCallback() Hook