aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Settings.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-01 20:37:05 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitc89f8e8933724ce0f258d97d18eb361ebd2555ae (patch)
treeca05cb12d5cecb0329ab0828db33ac74d820a4a7 /vnext/src/ui/Settings.js
parentca0c6213b369c9064e43643e83b086f3940a01e3 (diff)
Cleanup JSDoc warnings
Diffstat (limited to 'vnext/src/ui/Settings.js')
-rw-r--r--vnext/src/ui/Settings.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js
index 6575fb87..82fbcc9e 100644
--- a/vnext/src/ui/Settings.js
+++ b/vnext/src/ui/Settings.js
@@ -62,7 +62,7 @@ export default function Settings({ onChange }) {
const [visitor] = useVisitor();
- let passwordChanged = (event) => {
+ let passwordChanged = () => {
console.log('password changed');
};
let onSubmitPassword = (event) => {
@@ -71,7 +71,7 @@ export default function Settings({ onChange }) {
}
console.log('password update');
};
- let emailChanged = (event) => {
+ let emailChanged = () => {
console.log('email update');
};
let disableTelegram = () => {
@@ -188,7 +188,7 @@ export default function Settings({ onChange }) {
{
visitor.emails &&
<>
- {/** email_off **/}
+ {/** email_off */}
<form>
You can receive notifications to email:<br />
Sent to <select name="account" value={visitor.activeEmail || 'Disabled'} onChange={emailChanged}>
@@ -202,7 +202,7 @@ export default function Settings({ onChange }) {
}
</select>
</form>
- {/** /email_off **/}
+ {/** /email_off */}
<p>&nbsp;</p>
<p>You can post to Juick via e-mail. Send your <u>plain text</u> messages to <a href="mailto:juick@juick.com">juick@juick.com</a>.
You can attach one photo or video file.</p>