Skip to content

Commit 229b2e2

Browse files
committed
remove redundant import
1 parent c81582f commit 229b2e2

File tree

1 file changed

+1
-5
lines changed
  • examples/e2e/app-router/app/api/isr

1 file changed

+1
-5
lines changed

examples/e2e/app-router/app/api/isr/route.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
import fs from "node:fs/promises";
2-
import path from "node:path";
31
import type { NextRequest } from "next/server";
42
import { NextResponse } from "next/server";
53

64
export const dynamic = "force-dynamic";
75

86
// This endpoint simulates an on demand revalidation request
97
export async function GET(request: NextRequest) {
10-
const cwd = process.cwd();
11-
12-
let manifest;
8+
let manifest: { preview: { previewModeId: string } };
139
// this fails at build time when next.js tries to evaluate the route
1410
try {
1511
// @ts-expect-error

0 commit comments

Comments
 (0)