From 2a85b9fdd27b068b79acb74bbdb01a25210ab1cb Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 19 Oct 2017 10:58:24 -0300 Subject: [PATCH] Adding missing proptypes --- .../coral-embed-stream/src/components/CommentTombstone.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/coral-embed-stream/src/components/CommentTombstone.js b/client/coral-embed-stream/src/components/CommentTombstone.js index 1d7e8d7e5..9af684265 100644 --- a/client/coral-embed-stream/src/components/CommentTombstone.js +++ b/client/coral-embed-stream/src/components/CommentTombstone.js @@ -1,5 +1,5 @@ import React from 'react'; - +import PropTypes from 'prop-types'; import t from 'coral-framework/services/i18n'; // Render in place of a Comment when the author of the comment is @@ -34,4 +34,8 @@ class CommentTombstone extends React.Component { } } +CommentTombstone.propTypes = { + action: PropTypes.string, +}; + export default CommentTombstone;