diff options
author | Vitaly Takmazov | 2018-06-17 01:41:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | 5ee478a197868a560aaf392affef6afa9563b827 (patch) | |
tree | faac88cecdd263a8a12bfefbcda1503af21b8112 /vnext/src | |
parent | 0c2239cd080a15c79b060435742b8891cd7d29ab (diff) |
Reformat
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 = { |