test(frontend): Update SideNav component and add associated tests #16
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'.
|