aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Avatar.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-03 01:05:21 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitef8c38749216ba8eb5918e398d12f3e48663f56f (patch)
tree870fde4959acb74700218b9697a727791cd5fb0f /vnext/src/components/Avatar.js
parentec77d4c2416f0cb8218c7719bf46a98066603407 (diff)
react-hooks/exhaustive-deps
Diffstat (limited to 'vnext/src/components/Avatar.js')
-rw-r--r--vnext/src/components/Avatar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js
index 64c16ead..dc2050ce 100644
--- a/vnext/src/components/Avatar.js
+++ b/vnext/src/components/Avatar.js
@@ -27,7 +27,7 @@ function Avatar(props) {
isMounted = false;
};
}
- }, [props.user]);
+ }, [props.user, user.uid, user.uri]);
return (
<div className="Avatar" style={props.style}>
<div className="msg-avatar">