diff options
author | 2018-07-18 13:23:24 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | d0053977cd080814747a221a5531fe6a726c2834 (patch) | |
tree | 7b9a84b620b104bb193669fd1e548007f4ad8e57 | |
parent | 9671c4afeb4a483a6fe3ebb1275dd97bd1dc91be (diff) |
Fix Message prop types
-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 }; |