Unverified Commit 0e9479f5 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

cleanup unused pages router method (#67722)

This appears to be leftover from early RSC experimentation.
parent d654ccfc
...@@ -2501,18 +2501,6 @@ export default class Router implements BaseRouter { ...@@ -2501,18 +2501,6 @@ export default class Router implements BaseRouter {
}) })
} }
_getFlightData(dataHref: string) {
// Do not cache RSC flight response since it's not a static resource
return fetchNextData({
dataHref,
isServerRender: true,
parseJSON: false,
inflightCache: this.sdc,
persistCache: false,
isPrefetch: false,
}).then(({ text }) => ({ data: text }))
}
getInitialProps( getInitialProps(
Component: ComponentType, Component: ComponentType,
ctx: NextPageContext ctx: NextPageContext
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment