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