Add Document API calls

This commit is contained in:
cracklesparkle
2024-06-28 16:03:12 +09:00
parent af1d497715
commit 7ba886e966
9 changed files with 399 additions and 9 deletions

View File

@ -11,6 +11,7 @@ import SignUp from "./pages/auth/SignUp"
import { initAuth, useAuthStore } from "./store/auth"
import { useEffect, useState } from "react"
import { Box, CircularProgress, Container } from "@mui/material"
import Documents from "./pages/Documents"
function App() {
const auth = useAuthStore()
@ -48,6 +49,7 @@ function App() {
<Route path="/" element={<Main />} />
<Route path="/user" element={<Users />} />
<Route path="/role" element={<Roles />} />
<Route path="/documents" element={<Documents />} />
<Route path="/api-test" element={<ApiTest />} />
<Route path="*" element={<NotFound />} />
</Route>