mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
8d059faaed
commit
91568bb055
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ async function renderToStaticNodeStreamAsync(vnode) {
|
||||||
let html = '';
|
let html = '';
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
let stream = ReactDOM.renderToStaticNodeStream(vnode);
|
let stream = ReactDOM.renderToStaticNodeStream(vnode);
|
||||||
stream.on('error', err => {
|
stream.on('error', (err) => {
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
stream.pipe(
|
stream.pipe(
|
||||||
|
|
Loading…
Reference in a new issue