aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Settings.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-08 00:17:14 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitabe8e7bc26906929914834dbaf38a793bcbb4f78 (patch)
tree677b41bc2b3d2f78b26392dbf4bb7d7dddb603bb /vnext/src/ui/Settings.js
parentee4f45f13f652d8807c2617f24aa167243076b5e (diff)
ESLint: switch to `@typescript-eslint/parser`
* JS version of the `no-floating-promise` rule sucks :(
Diffstat (limited to 'vnext/src/ui/Settings.js')
-rw-r--r--vnext/src/ui/Settings.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js
index 82fbcc9e..6e9d4f36 100644
--- a/vnext/src/ui/Settings.js
+++ b/vnext/src/ui/Settings.js
@@ -40,8 +40,8 @@ function ChangeAvatarForm({ onChange }) {
avatarChanged('');
me().then(visitor => {
onChange(visitor);
- });
- });
+ }).catch(console.error);
+ }).catch(console.error);
};
return (
<form>
@@ -93,13 +93,13 @@ export default function Settings({ onChange }) {
console.log('twitter disable');
};
let deleteJid = () => {
-
+ // TODO
};
let addEmail = () => {
-
+ // TODO
};
let deleteEmail = () => {
-
+ // TODO
};
return (
<div className="msg-cont">