aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-27 12:09:24 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit31a7bfa68d8add95af0ff2548590165c289d4c19 (patch)
tree0e2821912e97f9adf69d04cce9e03e4e6d439ae5 /vnext/src/components
parent620625f9a084e2ba8e944d0c424c8d208d45ed45 (diff)
clean up some warnings
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Settings.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js
index 5e235dc6..d4947e5a 100644
--- a/vnext/src/components/Settings.js
+++ b/vnext/src/components/Settings.js
@@ -60,7 +60,7 @@ export default class Settings extends React.Component {
}}>Telegram</legend>
{settings.telegramName ? (
<form action="/settings" method="post">
- <div>Telegram: <b> telegram_name </b> &mdash;
+ <div>Telegram: <b> telegram_name </b>&mdash;
<input type="hidden" name="page" value="telegram-del" />
<input type="submit" value=" Disable " />
</div>
@@ -92,7 +92,7 @@ export default class Settings extends React.Component {
<label><input type="radio" name="delete"
value={auth.account} />{auth.account}</label>
&mdash; <a href="#"
- onclick="alert(\'To confirm, please send &quot;AUTH {{ auth.getAuthCode() }}&quot; (without quotes) from this account to &quot;juick@juick.com&quot;.\'); return false;">Confirm</a><br />
+ onClick="alert(\'To confirm, please send &quot;AUTH {{ auth.getAuthCode() }}&quot; (without quotes) from this account to &quot;juick@juick.com&quot;.\'); return false;">Confirm</a><br />
</React.Fragment>
)}
</p>
@@ -131,7 +131,7 @@ export default class Settings extends React.Component {
<p><input type="hidden" name="page" value="email-del" /><input type="submit" value=" Delete " /></p>
}
</React.Fragment>
- ) : `-`
+ ) : '-'
}
</p>
</form>
@@ -142,8 +142,8 @@ export default class Settings extends React.Component {
You can receive notifications to email:<br />
Sent to <select name="account">
<option value="">Disabled</option>
- {email.map(email =>
- <option value={email} selected={email.active == email}>
+ {settings.emails.map(email =>
+ <option key={email} value={email} selected={email.active == email}>
{email}
</option>
)}
@@ -212,4 +212,4 @@ export default class Settings extends React.Component {
</article>
);
}
-} \ No newline at end of file
+}