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.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js
index 62115455..94052b2e 100644
--- a/vnext/src/components/Settings.js
+++ b/vnext/src/components/Settings.js
@@ -164,7 +164,7 @@ export default class Settings extends React.Component {
<p>Add account:<br />
<input type="text" name="account" />
<input type="hidden" name="page" value="email-add" />
- <input type="submit" value=" Add " />
+ <Button onClick={this.addEmail}>Add</Button>
</p>
</form>
<form>
@@ -178,7 +178,8 @@ export default class Settings extends React.Component {
</label>
<br />
{me.emails.length > 1 &&
- <p><input type="hidden" name="page" value="email-del" /><input type="submit" value=" Delete " /></p>
+ <p><input type="hidden" name="page" value="email-del" />
+ <input type="submit" value=" Delete " /></p>
}
</React.Fragment>
) : '-'