aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Types.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-02-26 16:22:13 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit695672f750ec9702c75a5020c90acba7b036380d (patch)
tree0cc4e5f386c531e485a232922ec61c8603f8274b /vnext/src/components/Types.js
parentf507e0639cb29ccf74926177e7230255f07648fb (diff)
UserLink component
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r--vnext/src/components/Types.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Types.js b/vnext/src/components/Types.js
index 5a495ff3..9bf7b513 100644
--- a/vnext/src/components/Types.js
+++ b/vnext/src/components/Types.js
@@ -1,9 +1,10 @@
import PropTypes from 'prop-types';
export const UserType = PropTypes.shape({
- uid: PropTypes.number,
+ uid: PropTypes.number.isRequired,
uname: PropTypes.string,
- avatar: PropTypes.string
+ avatar: PropTypes.string,
+ uri: PropTypes.string
});
export const MessageType = PropTypes.shape({