diff --git a/packages/web/lib/components/vton/VtonItemPanel.tsx b/packages/web/lib/components/vton/VtonItemPanel.tsx index ffe66697..2d90d442 100644 --- a/packages/web/lib/components/vton/VtonItemPanel.tsx +++ b/packages/web/lib/components/vton/VtonItemPanel.tsx @@ -29,6 +29,7 @@ interface VtonItemPanelProps { searchQuery: string; error: string | null; bgError: { error: string | null } | null; + onClose: () => void; onSourceModeChange: (mode: "items" | "posts") => void; onCategoryChange: (category: Category) => void; onSearchChange: (query: string) => void; @@ -83,6 +84,7 @@ export function VtonItemPanel({ searchQuery, error, bgError, + onClose, onSourceModeChange, onCategoryChange, onSearchChange, @@ -100,11 +102,19 @@ export function VtonItemPanel({ className="flex w-full flex-col border-t border-white/10 md:w-[340px] md:border-t-0 md:border-l" > {/* Header */} -
+

Virtual Try-On PoC

+
diff --git a/packages/web/lib/components/vton/VtonModal.tsx b/packages/web/lib/components/vton/VtonModal.tsx index b98b9d66..aca1d229 100644 --- a/packages/web/lib/components/vton/VtonModal.tsx +++ b/packages/web/lib/components/vton/VtonModal.tsx @@ -1,7 +1,6 @@ "use client"; import { useState, useRef, useCallback, useEffect, useMemo } from "react"; -import { X } from "lucide-react"; import { toast } from "sonner"; import { useVtonStore, @@ -362,13 +361,6 @@ export function VtonModal() { onClick={handleClose} />
-