diff options
author | Vitaly Takmazov | 2018-08-27 12:09:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 31a7bfa68d8add95af0ff2548590165c289d4c19 (patch) | |
tree | 0e2821912e97f9adf69d04cce9e03e4e6d439ae5 /vnext | |
parent | 620625f9a084e2ba8e944d0c424c8d208d45ed45 (diff) |
clean up some warnings
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/components/Settings.js | 12 |
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> — + <div>Telegram: <b> telegram_name </b>— <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> — <a href="#" - onclick="alert(\'To confirm, please send "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); return false;">Confirm</a><br /> + onClick="alert(\'To confirm, please send "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); 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 +} |