aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/UserInfo.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-31 23:15:20 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitb197e2616db62e25227548bfdb085f4e1f2908f0 (patch)
tree69961729386797f4e0f0a7fae464993fb238c275 /vnext/src/ui/UserInfo.js
parent62eed58d4f190d1d56590658ed8f2b1c98c7c298 (diff)
Cleanup JSDoc warnings
Diffstat (limited to 'vnext/src/ui/UserInfo.js')
-rw-r--r--vnext/src/ui/UserInfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/UserInfo.js b/vnext/src/ui/UserInfo.js
index 2a0ba619..bcf5c20e 100644
--- a/vnext/src/ui/UserInfo.js
+++ b/vnext/src/ui/UserInfo.js
@@ -13,7 +13,7 @@ let isMounted;
/**
* User info component
- * @param {{uname: string, onUpdate?: function, children?: React.ReactElement}} props
+ * @param {{uname: string, onUpdate?: function, children?: import('react').ReactElement}} props
*/
export default function UserInfo({ uname, onUpdate, children }) {
const [user, setUser] = useState({