Alejandra
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
8 additions and
8 deletions
-
frontend/biome.json
-
frontend/src/components/Common/Navbar.tsx
-
frontend/src/routes/_layout/admin.tsx
-
frontend/src/routes/_layout/items.tsx
|
|
@ -4,7 +4,7 @@ |
|
|
|
"enabled": true |
|
|
|
}, |
|
|
|
"files": { |
|
|
|
"ignore": ["node_modules", "src/routeTree.gen.ts"] |
|
|
|
"ignore": ["node_modules", "src/client/", "src/routeTree.gen.ts"] |
|
|
|
}, |
|
|
|
"linter": { |
|
|
|
"enabled": true, |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
import { ComponentType, ElementType } from 'react'; |
|
|
|
import type { ComponentType, ElementType } from "react" |
|
|
|
|
|
|
|
import { Button, Flex, Icon, useDisclosure } from "@chakra-ui/react" |
|
|
|
import { FaPlus } from "react-icons/fa" |
|
|
|
|
|
@ -18,9 +18,9 @@ import { createFileRoute } from "@tanstack/react-router" |
|
|
|
|
|
|
|
import { Suspense } from "react" |
|
|
|
import { type UserPublic, UsersService } from "../../client" |
|
|
|
import AddUser from "../../components/Admin/AddUser" |
|
|
|
import ActionsMenu from "../../components/Common/ActionsMenu" |
|
|
|
import Navbar from "../../components/Common/Navbar" |
|
|
|
import AddUser from "../../components/Admin/AddUser" |
|
|
|
|
|
|
|
export const Route = createFileRoute("/_layout/admin")({ |
|
|
|
component: Admin, |
|
|
|
|
|
@ -1,4 +1,3 @@ |
|
|
|
import { z } from "zod" |
|
|
|
import { |
|
|
|
Button, |
|
|
|
Container, |
|
|
@ -15,8 +14,9 @@ import { |
|
|
|
} from "@chakra-ui/react" |
|
|
|
import { useQuery, useQueryClient } from "@tanstack/react-query" |
|
|
|
import { createFileRoute, useNavigate } from "@tanstack/react-router" |
|
|
|
|
|
|
|
import { useEffect } from "react" |
|
|
|
import { z } from "zod" |
|
|
|
|
|
|
|
import { ItemsService } from "../../client" |
|
|
|
import ActionsMenu from "../../components/Common/ActionsMenu" |
|
|
|
import Navbar from "../../components/Common/Navbar" |
|
|
|