From a665dbd88e8980085a5645962cd7583a47e26e1e Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 21 Nov 2017 18:07:00 +0100 Subject: [PATCH] Reproduce modqueue freeze issue --- .../coral-embed-stream/src/components/Stream.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/client/coral-embed-stream/src/components/Stream.js b/client/coral-embed-stream/src/components/Stream.js index 7ff48106b..69879d467 100644 --- a/client/coral-embed-stream/src/components/Stream.js +++ b/client/coral-embed-stream/src/components/Stream.js @@ -196,6 +196,15 @@ class Stream extends React.Component { ); } + launchDeathStar = () => { + for (let i = 0; i < 20; i++) { + this.props.postComment({ + asset_id: this.props.root.asset.id, + body: 'death is certain', + }); + } + } + render() { const { data, @@ -231,6 +240,12 @@ class Stream extends React.Component { return (
+ {highlightedComment &&