Rename interfaces, AppBar changes

This commit is contained in:
cracklesparkle
2024-06-28 12:33:07 +09:00
parent c41e59cd86
commit af1d497715
13 changed files with 165 additions and 80 deletions

View File

@ -10,7 +10,7 @@ import ApiTest from "./pages/ApiTest"
import SignUp from "./pages/auth/SignUp"
import { initAuth, useAuthStore } from "./store/auth"
import { useEffect, useState } from "react"
import { CircularProgress } from "@mui/material"
import { Box, CircularProgress, Container } from "@mui/material"
function App() {
const auth = useAuthStore()
@ -33,7 +33,10 @@ function App() {
)
} else {
return (
<>
<Box sx={{
width: "100%",
height: "100vh"
}}>
<Router>
<Routes>
<Route element={<MainLayout />}>
@ -50,7 +53,7 @@ function App() {
</Route>
</Routes>
</Router>
</>
</Box>
)
}
}