fixed redirection bug

This commit was merged in pull request #10.
This commit is contained in:
2023-10-22 23:08:34 -07:00
parent f67d33396e
commit 1ebb8d61f1
7 changed files with 20 additions and 104 deletions
+3 -6
View File
@@ -16,18 +16,15 @@ import theme from "../styles/theme";
import { ThemeProvider, CssBaseline } from "@mui/material";
import Layout from "@/components/_App/Layout";
import AuthRoute from "middlewares/AuthRoute";
function MyApp({ Component, pageProps }) {
return (
<>
<ThemeProvider theme={theme}>
<CssBaseline />
{/* <AuthRoute> */}
<Layout>
<Component {...pageProps} />
</Layout>
{/* </AuthRoute> */}
<Layout>
<Component {...pageProps} />
</Layout>
</ThemeProvider>
</>
);