Skip to content

fix(PageToggle): resolved sidebar not collapsing correctly #78

fix(PageToggle): resolved sidebar not collapsing correctly

fix(PageToggle): resolved sidebar not collapsing correctly #78

Triggered via pull request March 5, 2025 17:43
Status Success
Total duration 2m 4s
Artifacts

build.yml

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

Annotations

1 warning
build (22.x): src/components/PageToggle.tsx#L16
The 'applySidebarStylesToIsland' function makes the dependencies of useEffect Hook (at line 43) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'applySidebarStylesToIsland' in its own useCallback() Hook