first fixes

This commit is contained in:
Lokowitz
2025-05-17 18:17:22 +00:00
parent 731ec1da69
commit eff812eaa8
27 changed files with 80 additions and 114 deletions

View File

@@ -3,7 +3,7 @@ import { authCookieHeader } from "@app/lib/api/cookies";
import { AxiosResponse } from "axios";
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import IdpTable, { IdpRow } from "./AdminIdpTable";
import { useTranslations } from "next-intl";
import { getTranslations } from 'next-intl/server';
export default async function IdpPage() {
let idps: IdpRow[] = [];
@@ -16,7 +16,8 @@ export default async function IdpPage() {
} catch (e) {
console.error(e);
}
const t = useTranslations();
const t = await getTranslations();
return (
<>