Skip to content

Commit

Permalink
fix(experimental-app-router): Resolve onLogin issue on Vercel deploym…
Browse files Browse the repository at this point in the history
…ent - adding one more eslint addition (wpengine#1919)
  • Loading branch information
CesarBenavides777 committed Nov 26, 2024
1 parent 72934d6 commit cf59db0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { cookies } from 'next/headers.js';
import { getWpUrl } from '../faust-core-utils.js';

export async function onLogout() {
'use server';
('use server');

const wpCookieName = `${getWpUrl()}-rt`;
// eslint-disable-next-line @typescript-eslint/await-thenable
const cookieStore = await cookies();
const wpCookie = cookieStore.get(wpCookieName);

Expand Down

0 comments on commit cf59db0

Please sign in to comment.