Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9ecf82a

Browse files
committed
Show correct text in set email password dialog (2)
Fixes element-hq/element-web#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.
1 parent 449c65b commit 9ecf82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/SetEmailDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default React.createClass({
155155
<input
156156
type="submit"
157157
value={_t("Cancel")}
158-
onClick={this.props.onFinished}
158+
onClick={this.onCancelled}
159159
/>
160160
</div>
161161
</BaseDialog>

0 commit comments

Comments
 (0)