aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/Settings.js')
-rw-r--r--vnext/src/ui/Settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js
index ba0286ca..4b9dc2e9 100644
--- a/vnext/src/ui/Settings.js
+++ b/vnext/src/ui/Settings.js
@@ -8,7 +8,7 @@ import UploadButton from './UploadButton';
import Avatar from './Avatar';
/**
- * @param {{ visitor: import('../api').SecureUser, onChange: React.ChangeEvent<import('../api').SecureUser> }} props
+ * @param {{ visitor: import('../api').SecureUser, onChange: function }} props
*/
function ChangeAvatarForm({ visitor, onChange }) {
const [avatar, setAvatar] = useState('');
@@ -53,7 +53,7 @@ function ChangeAvatarForm({ visitor, onChange }) {
}
/**
- * @param {{ visitor: import('../api').SecureUser, onChange: React.ChangeEvent<import('../api').SecureUser> }} props
+ * @param {{ visitor: import('../api').SecureUser, onChange: function }} props
*/
export default function Settings({ visitor, onChange }) {