Fixed close action handling on magic link page

no issue

Fixes magic link action button using incorrect action method - `handleSignin` - which failed on click, replaced with close popup action.
This commit is contained in:
Rish 2020-04-30 11:39:19 +05:30
parent 9aefe26ba7
commit 30a14023cf

View File

@ -30,7 +30,7 @@ export default class MagicLinkPage extends React.Component {
const label = 'Close';
return (
<ActionButton
onClick={e => this.handleSignin(e)}
onClick={e => this.handleClose(e)}
brandColor={this.context.brandColor}
label={label}
/>