diff options
Diffstat (limited to 'vnext/src')
-rw-r--r-- | vnext/src/components/Message.js | 8 |
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 = { |