Browse Source

renderToReadableStream: Ensure same var name is used in `onError` (#4562)

main
Sebastian Silbermann 3 years ago
committed by GitHub
parent
commit
42100a3448
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/docs/reference-react-dom-server.md

4
content/docs/reference-react-dom-server.md

@ -109,9 +109,9 @@ try {
</html>, </html>,
{ {
signal: controller.signal, signal: controller.signal,
onError(e) { onError(error) {
didError = true; didError = true;
console.error(err); console.error(error);
} }
} }
); );

Loading…
Cancel
Save