From 19a5d40cd2e0fe9a95f5df83f6a87b10761d599f Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 14 Sep 2023 21:21:54 +0200 Subject: [PATCH] Fix lint --- packages/next/src/server/base-server.ts | 6 +----- packages/next/src/server/lib/router-utils/resolve-routes.ts | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/next/src/server/base-server.ts b/packages/next/src/server/base-server.ts index 0a2583b962dfd8..e7b8473908401a 100644 --- a/packages/next/src/server/base-server.ts +++ b/packages/next/src/server/base-server.ts @@ -50,11 +50,7 @@ import { TEMPORARY_REDIRECT_STATUS, } from '../shared/lib/constants' import { isDynamicRoute } from '../shared/lib/router/utils' -import { - setLazyProp, - getCookieParser, - checkIsOnDemandRevalidate, -} from './api-utils' +import { checkIsOnDemandRevalidate } from './api-utils' import { setConfig } from '../shared/lib/runtime-config.shared-runtime' import { setRevalidateHeaders } from './send-payload/revalidate-headers' diff --git a/packages/next/src/server/lib/router-utils/resolve-routes.ts b/packages/next/src/server/lib/router-utils/resolve-routes.ts index dab71210053a1e..7a89e9371cf75e 100644 --- a/packages/next/src/server/lib/router-utils/resolve-routes.ts +++ b/packages/next/src/server/lib/router-utils/resolve-routes.ts @@ -15,7 +15,6 @@ import { stringifyQuery } from '../../server-route-utils' import { formatHostname } from '../format-hostname' import { toNodeOutgoingHttpHeaders } from '../../web/utils' import { isAbortError } from '../../pipe-readable' -import { getCookieParser, setLazyProp } from '../../api-utils' import { getHostname } from '../../../shared/lib/get-hostname' import { UnwrapPromise } from '../../../lib/coalesced-function' import { getRedirectStatus } from '../../../lib/redirect-status'