aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Message.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Message.js')
-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 ed0d1857..0c322a66 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 = {