diff --git a/pages/_app.tsx b/pages/_app.tsx index c3ae733ca..cf30136c4 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -5,6 +5,7 @@ import { useRouter } from "next/router"; import React from "react"; import { LinearProgress } from "@mui/material"; import { SessionProvider } from "next-auth/react"; +import zIndex from "@mui/material/styles/zIndex"; const font = Josefin_Sans({ preload: false, @@ -33,7 +34,20 @@ function App({ Component, pageProps: { session, ...pageProps } }: AppProps) { return (
- {isLoading ? : null} + {isLoading && ( +
+ +
+ )}