aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Message.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index 953276b5..ad79f7f6 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -106,8 +106,8 @@ function Tags({ data, user, ...rest }) {
}
Message.propTypes = {
- data: PropTypes.instanceOf(MessageType),
- visitor: PropTypes.instanceOf(UserType).isRequired,
+ data: MessageType,
+ visitor: UserType.isRequired,
children: PropTypes.node
};