Skip to content

Move service calls into contexts and add refresh token impl #22

Move service calls into contexts and add refresh token impl

Move service calls into contexts and add refresh token impl #22

Triggered via pull request February 2, 2024 16:06
Status Success
Total duration 57s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linting: src/context/CalendarEvents/CalendarEventsProvider.tsx#L164
React Hook React.useMemo has missing dependencies: 'addCalendarEvent' and 'removeCalendarEvent'. Either include them or remove the dependency array
Linting: src/context/User/UserProvider.tsx#L35
The 'logout' function makes the dependencies of useEffect Hook (at line 81) change on every render. To fix this, wrap the definition of 'logout' in its own useCallback() Hook