diff --git a/client/src/App.jsx b/client/src/App.jsx index 5cd321a..03cc649 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -7,7 +7,7 @@ import Content from "@/common/components/Content"; import {useState} from "react"; const App = () => { - const [sidebarOpen, setSidebarOpen] = useState(window.innerHeight >= 1024); + const [sidebarOpen, setSidebarOpen] = useState(window.innerWidth >= 1024); return ( <>