From 91568bb055c7e8d561232ddc6d10520fbf647e61 Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 20 Sep 2022 13:40:04 +0000 Subject: [PATCH] [ci] format --- packages/integrations/react/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/react/server.js b/packages/integrations/react/server.js index d8c0c25fb610..6dd289c994cf 100644 --- a/packages/integrations/react/server.js +++ b/packages/integrations/react/server.js @@ -123,7 +123,7 @@ async function renderToStaticNodeStreamAsync(vnode) { let html = ''; return new Promise((resolve, reject) => { let stream = ReactDOM.renderToStaticNodeStream(vnode); - stream.on('error', err => { + stream.on('error', (err) => { reject(err); }); stream.pipe(