From 83ca7c6cd7e957654138db507dce3a6dbe780247 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 27 Jan 2026 11:14:30 +0700 Subject: [PATCH] fix(build): remove invalid props passed to HistoryDetailSheet --- src/app/(main)/history/page.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/app/(main)/history/page.tsx b/src/app/(main)/history/page.tsx index 38455f1..d532ef5 100644 --- a/src/app/(main)/history/page.tsx +++ b/src/app/(main)/history/page.tsx @@ -6,7 +6,6 @@ import { useHistoryStore } from '@/lib/store/history-store'; export default function HistoryPage() { const selectedDraft = useHistoryStore((s) => s.selectedDraft); - const closeDetail = useHistoryStore((s) => s.closeDetail); return (
@@ -17,13 +16,7 @@ export default function HistoryPage() { {/* Detail Sheet for viewing history items */} - {selectedDraft && ( - - )} + {selectedDraft && }
); }