aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Settings.js')
-rw-r--r--vnext/src/components/Settings.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js
index 95f7e60d..a97d4be9 100644
--- a/vnext/src/components/Settings.js
+++ b/vnext/src/components/Settings.js
@@ -2,12 +2,12 @@ import React from 'react';
export default class Settings extends React.Component {
constructor(props) {
- super(props)
+ super(props);
this.state = {
settings: {},
userinfo: {},
facebook: {}
- }
+ };
}
render() {
const { settings, userinfo, facebook } = this.state;
@@ -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>
@@ -82,13 +82,13 @@ export default class Settings extends React.Component {
<p>
{
settings.jids.map(jid =>
- <React.Fragment>
+ <React.Fragment key="jid">
<label><input type="radio" name="delete" value={jid} />${jid}</label><br />
</React.Fragment>
)
}
{settings.auths.map(auth =>
- <React.Fragment>
+ <React.Fragment key={auth.account}>
<label><input type="radio" name="delete"
value={auth.account} />{auth.account}</label>
&mdash; <a href="#"