From d0053977cd080814747a221a5531fe6a726c2834 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 18 Jul 2018 13:23:24 +0300 Subject: Fix Message prop types --- vnext/src/components/Message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnext') 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 }; -- cgit v1.2.3