mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix: 🚑 Fix issues caused by shadcn-vue update
This commit is contained in:
parent
25e4892137
commit
3749ea86e2
|
|
@ -5,7 +5,7 @@
|
|||
<script lang="ts" setup>
|
||||
import FilePreview from "./file-preview.vue";
|
||||
|
||||
defineModel<
|
||||
const files = defineModel<
|
||||
{
|
||||
apiId?: string;
|
||||
file: File;
|
||||
|
|
|
|||
|
|
@ -166,12 +166,6 @@ import { toast } from "vue-sonner";
|
|||
import { z } from "zod";
|
||||
import FormSwitch from "~/components/form/switch.vue";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import {
|
||||
Card,
|
||||
CardDescription,
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
} from "~/components/ui/card";
|
||||
import {
|
||||
Dialog,
|
||||
DialogClose,
|
||||
|
|
|
|||
6
lib/utils.ts
Normal file
6
lib/utils.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { type ClassValue, clsx } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
Loading…
Reference in a new issue