diff options
author | 2018-07-15 13:22:05 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | 861fa2559fa16c3967a1d191a3a32d6eda6a4221 (patch) | |
tree | 65a9176de8db7c4f75160b1e2d950e1f61cd25c1 /vnext/src/components/Message.js | |
parent | 6f4926088b108b1f6a44ae90ba831a9911a25a8e (diff) |
Friends and Readers components
Diffstat (limited to 'vnext/src/components/Message.js')
-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 ad79f7f6..953276b5 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: MessageType, - visitor: UserType.isRequired, + data: PropTypes.instanceOf(MessageType), + visitor: PropTypes.instanceOf(UserType).isRequired, children: PropTypes.node }; |