From d59b2ed612801735f903ade05ce48a6b130fb1a2 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Tue, 24 Dec 2024 11:40:37 +0100 Subject: [PATCH] remove unnec initializer --- apps/login/src/components/idps/pages/login-failed.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/login/src/components/idps/pages/login-failed.tsx b/apps/login/src/components/idps/pages/login-failed.tsx index 8da5eee32f..e4187af791 100644 --- a/apps/login/src/components/idps/pages/login-failed.tsx +++ b/apps/login/src/components/idps/pages/login-failed.tsx @@ -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" });