aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/settings/assets/layout.tsx
blob: 2324c83ab93fd01a96a8fe07d72e80f4eb537427 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import type { Metadata } from "next";
import { useTranslation } from "@/lib/i18n/server";

export async function generateMetadata(): Promise<Metadata> {
  // oxlint-disable-next-line rules-of-hooks
  const { t } = await useTranslation();
  return {
    title: `${t("settings.manage_assets.manage_assets")} | Karakeep`,
  };
}

export default function AssetsLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return <>{children}</>;
}