chore: Update Prisma client import paths

This commit is contained in:
wood chen 2025-02-16 22:11:53 +08:00
parent a3fe3ec419
commit 84e8adf285
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;
} }