From 5ee478a197868a560aaf392affef6afa9563b827 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Sun, 17 Jun 2018 01:41:23 +0300
Subject: Reformat
---
vnext/src/components/Message.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'vnext/src/components/Message.js')
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 ({tag}) })
+ return props.data && props.data.map(tag => {
+ return ({tag})
+ })
+}
+
+Tags.propTypes = {
+ data: PropTypes.array
}
Message.propTypes = {
--
cgit v1.2.3