Fixed a bug in the App.jsx
This commit is contained in:
parent
1a516e8ae8
commit
eacfb30f24
@ -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 (
|
||||
<>
|
||||
|
Reference in New Issue
Block a user