Fixed a bug in the App.jsx

This commit is contained in:
Mathias Wagner 2023-05-31 02:23:33 +02:00
parent 1a516e8ae8
commit eacfb30f24
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -7,7 +7,7 @@ import Content from "@/common/components/Content";
import {useState} from "react"; import {useState} from "react";
const App = () => { const App = () => {
const [sidebarOpen, setSidebarOpen] = useState(window.innerHeight >= 1024); const [sidebarOpen, setSidebarOpen] = useState(window.innerWidth >= 1024);
return ( return (
<> <>