Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {auth as middleware} from '@/auth';
const signInPathName = '/login';

// eslint-disable-next-line @typescript-eslint/ban-ts-comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Now that the // @ts-expect-error directive on the next line has been removed, this eslint-disable-next-line comment is no longer necessary and can also be removed.

// @ts-expect-error
export default middleware((req) => {
const {nextUrl} = req;

Expand Down