mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-18 14:01:55 +08:00
chore: Update Prisma client import paths
This commit is contained in:
parent
a3fe3ec419
commit
84e8adf285
@ -3,6 +3,7 @@
|
|||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import { handleAuthorizeAction } from "@/actions/authorizing";
|
import { handleAuthorizeAction } from "@/actions/authorizing";
|
||||||
|
import { Client } from "@prisma/client";
|
||||||
import {
|
import {
|
||||||
ChevronsDownUp,
|
ChevronsDownUp,
|
||||||
ChevronsUpDown,
|
ChevronsUpDown,
|
||||||
@ -20,8 +21,6 @@ import {
|
|||||||
} from "@/components/ui/card";
|
} from "@/components/ui/card";
|
||||||
import { Checkbox } from "@/components/ui/checkbox";
|
import { Checkbox } from "@/components/ui/checkbox";
|
||||||
|
|
||||||
import { Client } from ".prisma/client";
|
|
||||||
|
|
||||||
interface Permission {
|
interface Permission {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
|
import type { Client } from "@prisma/client";
|
||||||
|
|
||||||
import { useToast } from "@/hooks/use-toast";
|
import { useToast } from "@/hooks/use-toast";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
@ -15,8 +16,6 @@ import {
|
|||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
import { Label } from "@/components/ui/label";
|
import { Label } from "@/components/ui/label";
|
||||||
|
|
||||||
import type { Client } from ".prisma/client";
|
|
||||||
|
|
||||||
interface EditClientFormProps {
|
interface EditClientFormProps {
|
||||||
client: Client;
|
client: Client;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user