Skip to content

Commit 8d290e9

Browse files
feat: remove cn from +page.svelte (#579)
1 parent 50644d4 commit 8d290e9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/upload

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/upload/+page.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { ScrollArea } from '$lib/components/ui/scroll-area';
66
import RecentUpload from './recent_upload.svelte';
77
import UploadShowcase from './upload_showcase.svelte';
8-
import { cn } from '$lib/utils';
98
import { toast } from 'svelte-sonner';
109
import { dev } from '$app/environment';
1110
import { markdown_to_html } from '$lib/markdown/markdown';
@@ -310,12 +309,12 @@
310309
{/snippet}
311310

312311
<Card
313-
class={cn(
312+
class={[
314313
'relative z-10 mx-auto w-full max-w-5xl border-border bg-card transition-all duration-200',
315314
isDragging && 'shadow-[0_0_20px_-10px_var(--primary)]',
316315
isDraggingOverCard && 'shadow-[0_0_40px_-10px_var(--primary)]',
317316
isDraggingOverZone && 'shadow-[0_0_60px_-10px_var(--primary)]'
318-
)}
317+
]}
319318
ondrop={(e) => {
320319
e.preventDefault();
321320
e.stopPropagation();

0 commit comments

Comments
 (0)