mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-15 08:57:37 +00:00
remove unnec initializer
This commit is contained in:
@@ -3,10 +3,7 @@ import { getLocale, getTranslations } from "next-intl/server";
|
||||
import { Alert, AlertType } from "../../alert";
|
||||
import { DynamicTheme } from "../../dynamic-theme";
|
||||
|
||||
export async function loginFailed(
|
||||
branding?: BrandingSettings,
|
||||
error: string = "",
|
||||
) {
|
||||
export async function loginFailed(branding?: BrandingSettings, error?: string) {
|
||||
const locale = getLocale();
|
||||
const t = await getTranslations({ locale, namespace: "idp" });
|
||||
|
||||
|
Reference in New Issue
Block a user