mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
@@ -2,7 +2,6 @@ import { withRefresh } from "@/api/with-refresh.ts"
|
|||||||
import type { DtoCreateLabelRequest, DtoUpdateLabelRequest } from "@/sdk"
|
import type { DtoCreateLabelRequest, DtoUpdateLabelRequest } from "@/sdk"
|
||||||
import { makeLabelsApi } from "@/sdkClient.ts"
|
import { makeLabelsApi } from "@/sdkClient.ts"
|
||||||
|
|
||||||
|
|
||||||
const labels = makeLabelsApi()
|
const labels = makeLabelsApi()
|
||||||
|
|
||||||
export const labelsApi = {
|
export const labelsApi = {
|
||||||
|
|||||||
@@ -8,17 +8,9 @@ import { useForm } from "react-hook-form"
|
|||||||
import { toast } from "sonner"
|
import { toast } from "sonner"
|
||||||
import { z } from "zod"
|
import { z } from "zod"
|
||||||
|
|
||||||
|
|
||||||
import { Button } from "@/components/ui/button.tsx"
|
import { Button } from "@/components/ui/button.tsx"
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card.tsx"
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card.tsx"
|
||||||
import {
|
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form.tsx"
|
||||||
Form,
|
|
||||||
FormControl,
|
|
||||||
FormField,
|
|
||||||
FormItem,
|
|
||||||
FormLabel,
|
|
||||||
FormMessage,
|
|
||||||
} from "@/components/ui/form.tsx"
|
|
||||||
import { Input } from "@/components/ui/input.tsx"
|
import { Input } from "@/components/ui/input.tsx"
|
||||||
|
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
|
|||||||
Reference in New Issue
Block a user