diff options
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r-- | vnext/src/components/Types.js | 5 |
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({ |