Updates based on feedback #1
autofix.yml
on: pull_request
Auto-fix Code Issues
27s
Annotations
6 warnings
Auto-fix Code Issues
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Auto-fix Code Issues:
app/2024/q4/page.tsx#L656
The 'handleKeyPress' function makes the dependencies of useEffect Hook (at line 723) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleKeyPress' in its own useCallback() Hook
|
Auto-fix Code Issues:
app/2024/q4/page.tsx#L681
The 'handleTouchStart' function makes the dependencies of useEffect Hook (at line 723) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleTouchStart' in its own useCallback() Hook
|
Auto-fix Code Issues:
app/2024/q4/page.tsx#L685
The 'handleTouchMove' function makes the dependencies of useEffect Hook (at line 723) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleTouchMove' in its own useCallback() Hook
|
Auto-fix Code Issues:
app/2024/q4/page.tsx#L689
The 'handleTouchEnd' function makes the dependencies of useEffect Hook (at line 723) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleTouchEnd' in its own useCallback() Hook
|
Auto-fix Code Issues:
components/SlideDeck.tsx#L99
React Hook useEffect has missing dependencies: 'handleKeyPress' and 'handleTouchEnd'. Either include them or remove the dependency array
|