Skip to content

Commit f3af4ad

Browse files
committed
chore: imported correct NextRequest type
1 parent 42381b7 commit f3af4ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

demos/middleware/middleware.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { NextResponse } from 'next/server'
2-
import type { NextRequest } from 'next/server'
3-
4-
import { MiddlewareRequest } from '@netlify/next'
2+
import { MiddlewareRequest, NextRequest } from '@netlify/next'
53

64
export async function middleware(req: NextRequest) {
75
let response

0 commit comments

Comments
 (0)