Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Nov 5, 2021
1 parent 69f866d commit 92f00ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/server/render.tsx
Expand Up @@ -1140,8 +1140,8 @@ export async function renderToHTML(
// blocking `renderToReadableStream` to get the similar result.
let result = ''
const readable = (ReactDOMServer as any).renderToReadableStream(document, {
onError: (err: any) => {
throw err
onError: (e: any) => {
throw e
},
})
const reader = readable.getReader()
Expand Down

0 comments on commit 92f00ab

Please sign in to comment.