aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/settings/api-keys/page.tsx
blob: 494a0b5c50042904d153b2e7768e0b5465220620 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import type { Metadata } from "next";
import ApiKeySettings from "@/components/settings/ApiKeySettings";
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.api_keys.api_keys")} | Karakeep`,
  };
}

export default async function ApiKeysPage() {
  return (
    <div className="rounded-md border bg-background p-4">
      <ApiKeySettings />
    </div>
  );
}