Skip to content

Commit 105f0ad

Browse files
committed
Fix lint
1 parent a9c6d0a commit 105f0ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/next/server/render.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,9 +1014,9 @@ export async function renderToHTML(
10141014
abort,
10151015
startWriting,
10161016
} = (ReactDOMServer as any).pipeToNodeWritable(element, stream, {
1017-
onError(err: Error) {
1017+
onError(error: Error) {
10181018
abort()
1019-
reject(err)
1019+
reject(error)
10201020
},
10211021
onCompleteAll() {
10221022
startWriting()

0 commit comments

Comments
 (0)