Skip to content

Commit

Permalink
changed arrow function to function keeping consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
DarianM committed Nov 1, 2024
1 parent 33c4ea2 commit 7fd2575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/app/routes/auth._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
)
Expand Down

0 comments on commit 7fd2575

Please sign in to comment.