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