diff options
Diffstat (limited to 'frontend/app/routes/logout.tsx')
| -rw-r--r-- | frontend/app/routes/logout.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/app/routes/logout.tsx b/frontend/app/routes/logout.tsx index 030bde0..012d9e9 100644 --- a/frontend/app/routes/logout.tsx +++ b/frontend/app/routes/logout.tsx @@ -2,6 +2,6 @@ import type { ActionFunctionArgs } from "@remix-run/node"; import { authenticator } from "../.server/auth"; export async function action({ request }: ActionFunctionArgs) { - await authenticator.logout(request, { redirectTo: "/" }); - return null; + await authenticator.logout(request, { redirectTo: "/" }); + return null; } |
