fix: 🚑 Fix issues caused by shadcn-vue update

This commit is contained in:
Jesse Wierzbinski 2025-05-28 21:16:22 +02:00
parent 25e4892137
commit 3749ea86e2
No known key found for this signature in database
3 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@
<script lang="ts" setup>
import FilePreview from "./file-preview.vue";
defineModel<
const files = defineModel<
{
apiId?: string;
file: File;

View 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
View 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));
}