mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-02 10:38:01 +00:00
more fixes
This commit is contained in:
@@ -25,6 +25,7 @@ interface SettingsLayoutProps {
|
||||
export default async function SettingsLayout(props: SettingsLayoutProps) {
|
||||
const params = await props.params;
|
||||
const { children } = props;
|
||||
const t = await getTranslations();
|
||||
|
||||
let idp = null;
|
||||
try {
|
||||
@@ -37,8 +38,6 @@ export default async function SettingsLayout(props: SettingsLayoutProps) {
|
||||
redirect("/admin/idp");
|
||||
}
|
||||
|
||||
const t = await getTranslations();
|
||||
|
||||
const navItems: HorizontalTabs = [
|
||||
{
|
||||
title: t('general'),
|
||||
|
||||
Reference in New Issue
Block a user