From f779f05906f380637ac5b57509fb59da8602a820 Mon Sep 17 00:00:00 2001 From: Fatih Solhan <22654053+fatihsolhan@users.noreply.github.com> Date: Fri, 30 Jun 2023 22:00:28 +0300 Subject: [PATCH] docs: remove extra 'if' in comment (#7914) --- packages/next-auth/src/next/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-auth/src/next/middleware.ts b/packages/next-auth/src/next/middleware.ts index 88190208..0947a696 100644 --- a/packages/next-auth/src/next/middleware.ts +++ b/packages/next-auth/src/next/middleware.ts @@ -173,7 +173,7 @@ export type WithAuthArgs = /** * Middleware that checks if the user is authenticated/authorized. - * If if they aren't, they will be redirected to the login page. + * If they aren't, they will be redirected to the login page. * Otherwise, continue. * * @example