From 1ceb72ca5c5bfe19794dd67165361130f1b632d4 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 6 Jun 2017 21:26:43 +0700 Subject: [PATCH] Fix error with tombstones --- .../src/components/IgnoredCommentTombstone.js | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/client/coral-embed-stream/src/components/IgnoredCommentTombstone.js b/client/coral-embed-stream/src/components/IgnoredCommentTombstone.js index 18fb0338c..bbcc5d5f6 100644 --- a/client/coral-embed-stream/src/components/IgnoredCommentTombstone.js +++ b/client/coral-embed-stream/src/components/IgnoredCommentTombstone.js @@ -3,18 +3,22 @@ import React from 'react'; import t from 'coral-framework/services/i18n'; // Render in place of a Comment when the author of the comment is ignored -const IgnoredCommentTombstone = () => ( -
-
-

- {t('framework.comment_is_ignored')} -

-
-); +class IgnoredCommentTombstone extends React.Component { + render() { + return ( +
+
+

+ {t('framework.comment_is_ignored')} +

+
+ ); + } +} export default IgnoredCommentTombstone;