refactor: remove console log for sidebarIsOpen to clean up code
This commit is contained in:
parent
1a3bc63d2e
commit
a23b58e05c
@ -35,8 +35,6 @@ export const Sidebar = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("sidebarIsOpen", sidebarIsOpen);
|
|
||||||
|
|
||||||
handleResize();
|
handleResize();
|
||||||
window.addEventListener("resize", handleResize);
|
window.addEventListener("resize", handleResize);
|
||||||
return () => window.removeEventListener("resize", handleResize);
|
return () => window.removeEventListener("resize", handleResize);
|
||||||
|
Loading…
Reference in New Issue
Block a user