Skip to content

Commit 8cc9b2f

Browse files
committed
#1010: fix Maximum call stack size exceeded error
1 parent 0777d58 commit 8cc9b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Article/ArticleCellOutputsAsIframe.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const ArticleCellOutputsAsIframe = ({
5858
// text/html
5959
if (output.data['text/html']) {
6060
if (Array.isArray(output.data['text/html'])) {
61-
acc.push(...output.data['text/html'])
61+
acc = acc.concat(output.data['text/html']);
6262
} else {
6363
acc.push(output.data['text/html'])
6464
}

0 commit comments

Comments
 (0)