frontend/src/components/Sidebar.jsx
Function Sidebar
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Sidebar = () => {
const { t } = useTranslation();
const dispatch = useDispatch();
const [btnFocused, setBtnFocused] = useState(false);
const { type } = useSelector((state) => state.modal);