aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/highlights
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/dashboard/highlights')
-rw-r--r--apps/web/app/dashboard/highlights/page.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/web/app/dashboard/highlights/page.tsx b/apps/web/app/dashboard/highlights/page.tsx
index 1410d1fd..5945de00 100644
--- a/apps/web/app/dashboard/highlights/page.tsx
+++ b/apps/web/app/dashboard/highlights/page.tsx
@@ -1,9 +1,18 @@
+import type { Metadata } from "next";
import AllHighlights from "@/components/dashboard/highlights/AllHighlights";
import { Separator } from "@/components/ui/separator";
import { useTranslation } from "@/lib/i18n/server";
import { api } from "@/server/api/client";
import { Highlighter } from "lucide-react";
+export async function generateMetadata(): Promise<Metadata> {
+ // oxlint-disable-next-line rules-of-hooks
+ const { t } = await useTranslation();
+ return {
+ title: `${t("common.highlights")} | Karakeep`,
+ };
+}
+
export default async function HighlightsPage() {
// oxlint-disable-next-line rules-of-hooks
const { t } = await useTranslation();