diff --git a/spa/src/routes/_app/diary.tsx b/spa/src/routes/_app/diary.tsx index 9773307..3161d21 100644 --- a/spa/src/routes/_app/diary.tsx +++ b/spa/src/routes/_app/diary.tsx @@ -1,7 +1,7 @@ import { createFileRoute } from "@tanstack/react-router" import { useCallback, useState } from "react" import { useTranslation } from "react-i18next" -import { BookOpen, ChevronLeft, ChevronRight, Download } from "lucide-react" +import { BookOpen, ChevronLeft, ChevronRight } from "lucide-react" import { format, startOfMonth, subMonths } from "date-fns" import { MovieCard } from "@/components/movie-card" import { EmptyState } from "@/components/empty-state" @@ -10,8 +10,6 @@ import { VirtualList } from "@/components/virtual-list" import { Button } from "@/components/ui/button" import { Skeleton } from "@/components/ui/skeleton" import { useInfiniteDiary, useDeleteReview } from "@/hooks/use-diary" -import { API_URL } from "@/lib/api/client" -import { getToken } from "@/lib/auth" import type { DiaryEntryDto } from "@/lib/api/common" export const Route = createFileRoute("/_app/diary")({ @@ -75,28 +73,7 @@ function DiaryPage() { return (
-
-

{t("diary.title")}

- -
+

{t("diary.title")}

+ +
+
+ + + ) +} + function SettingsGroup({ label, items,