aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Message.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index ed0d18577..0c322a663 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -91,7 +91,13 @@ export default function Message(props) {
}
function Tags(props) {
- return props.data && props.data.map(tag => { return (<a key={tag} href={`/tag/${tag}`} title={tag}>{tag}</a>) })
+ return props.data && props.data.map(tag => {
+ return (<a key={tag} href={`/tag/${tag}`} title={tag}>{tag}</a>)
+ })
+}
+
+Tags.propTypes = {
+ data: PropTypes.array
}
Message.propTypes = {