Skip to content

Commit

Permalink
redundant await logout.tsx ln11
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanaz2 committed Mar 15, 2023
1 parent 8fbacc1 commit f6b321b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/logout.tsx
Expand Up @@ -8,7 +8,7 @@ export const action = async ({ request }: ActionArgs) => {

// Invalidate the Starchart session but do not log out from Seneca IDP.
if (user) {
return await logout(request);
return logout(request);
}
return redirect('/');
};
Expand Down

0 comments on commit f6b321b

Please sign in to comment.