aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Types.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-02-25 15:38:10 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit5d4ff506a0d1ebebe92900985b7bce74501b658d (patch)
tree1267b7da0df1224c7c8ef3148828c458412b2d67 /vnext/src/components/Types.js
parentd64fc4be0130b7dfb91fdb3e05fccad380253abc (diff)
Fix Avatar state update - https://stackoverflow.com/questions/54865764
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r--vnext/src/components/Types.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/Types.js b/vnext/src/components/Types.js
index db90d41e..5a495ff3 100644
--- a/vnext/src/components/Types.js
+++ b/vnext/src/components/Types.js
@@ -2,7 +2,8 @@ import PropTypes from 'prop-types';
export const UserType = PropTypes.shape({
uid: PropTypes.number,
- uname: PropTypes.string
+ uname: PropTypes.string,
+ avatar: PropTypes.string
});
export const MessageType = PropTypes.shape({