From 7fd2575120b6df9fbba648d9f7ddc54420e82185 Mon Sep 17 00:00:00 2001 From: darian Date: Fri, 1 Nov 2024 16:22:34 +0200 Subject: [PATCH] changed arrow function to function keeping consistency --- packages/frontend/app/routes/auth._index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/app/routes/auth._index.tsx b/packages/frontend/app/routes/auth._index.tsx index 042fa9e031..ccb515d6fb 100644 --- a/packages/frontend/app/routes/auth._index.tsx +++ b/packages/frontend/app/routes/auth._index.tsx @@ -11,7 +11,7 @@ export const loader = async ({ request }: LoaderFunctionArgs) => { return null } -export const action = () => { +export async function action() { return redirectDocument( `${variables.kratosBrowserPublicUrl}/self-service/login/browser` )