diff --git a/src/pages/TopFlix.tsx b/src/pages/TopFlix.tsx index 12dd77ae..38117ac1 100644 --- a/src/pages/TopFlix.tsx +++ b/src/pages/TopFlix.tsx @@ -1,15 +1,10 @@ import classNames from "classnames"; import { ReactNode, useEffect, useState } from "react"; -import { useTranslation } from "react-i18next"; import { getMediaPoster } from "@/backend/metadata/tmdb"; -import { Icon, Icons } from "@/components/Icon"; import { ThiccContainer } from "@/components/layout/ThinContainer"; import { Divider } from "@/components/utils/Divider"; -import { Heading1, Heading2, Paragraph } from "@/components/utils/Text"; -import { ConfigValuesPart } from "@/pages/parts/admin/ConfigValuesPart"; -import { TMDBTestPart } from "@/pages/parts/admin/TMDBTestPart"; -import { WorkerTestPart } from "@/pages/parts/admin/WorkerTestPart"; +import { Heading1, Paragraph } from "@/components/utils/Text"; import { SubPageLayout } from "./layouts/SubPageLayout"; @@ -84,7 +79,6 @@ export function TopFlix() { const [recentPlayedItems, setRecentPlayedItems] = useState([]); const [loading, setLoading] = useState(true); const [currentPage, setCurrentPage] = useState(1); - const { t } = useTranslation(); const itemsPerPage = 10; useEffect(() => { diff --git a/src/pages/admin/AdminPage.tsx b/src/pages/admin/AdminPage.tsx index edebacc5..ebf2d787 100644 --- a/src/pages/admin/AdminPage.tsx +++ b/src/pages/admin/AdminPage.tsx @@ -1,5 +1,5 @@ import { ThinContainer } from "@/components/layout/ThinContainer"; -import { Heading1, Heading2, Paragraph } from "@/components/utils/Text"; +import { Heading1, Paragraph } from "@/components/utils/Text"; import { SubPageLayout } from "@/pages/layouts/SubPageLayout"; import { ConfigValuesPart } from "@/pages/parts/admin/ConfigValuesPart"; import { TMDBTestPart } from "@/pages/parts/admin/TMDBTestPart";