import React, { useEffect, useState } from "react"; import { ThemeProvider } from "next-themes"; import "../styles/main.sass"; import LoadingScreen from "components/LoadingScreen"; function Void({ Component, pageProps }) { const [loading, setLoading] = useState(true) useEffect(() => setLoading(false), []) if (loading) return return ( {/* */} ); } export default Void;