Skip to content

test(frontend): Update SideNav component and add associated tests #16

test(frontend): Update SideNav component and add associated tests

test(frontend): Update SideNav component and add associated tests #16

Triggered via push January 13, 2024 12:15
Status Failure
Total duration 1m 5s
Billable time 1m
Artifacts

frontend_qa.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
check
Process completed with exit code 1.
src/sections/dashboard/components/sidebar/side-nav.tsx#L47
[react-hooks/exhaustive-deps] React Hook React.useEffect has missing dependencies: 'lastOpenItem' and 'openItem'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setOpenItem' needs the current value of 'lastOpenItem'.