Show correct text in set email password dialog (2)

Fixes https://github.com/vector-im/riot-web/issues/4311

The cancel button onClick was hooked directly up to onFinished, so
the mouse event ended up as the boolean for whether an email had
been set.
pull/21833/head
David Baker 2017-06-14 16:06:28 +01:00
parent 449c65b784
commit 9ecf82a1f2
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ export default React.createClass({
<input
type="submit"
value={_t("Cancel")}
onClick={this.props.onFinished}
onClick={this.onCancelled}
/>
</div>
</BaseDialog>