mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Removed unused onClick handler in StripeSubscribePage
no-issue
This commit is contained in:
parent
eb0463b119
commit
9a842cab7c
1 changed files with 1 additions and 5 deletions
|
@ -36,10 +36,6 @@ class PaymentForm extends Component {
|
|||
});
|
||||
};
|
||||
|
||||
onClick = () => {
|
||||
this.props.stripe.createToken({ name: name });
|
||||
}
|
||||
|
||||
render({frameLocation}) {
|
||||
let label = this.props.showSpinner ? (
|
||||
(
|
||||
|
@ -54,7 +50,7 @@ class PaymentForm extends Component {
|
|||
<PasswordInput bindTo="password" />
|
||||
{ coupon ? <CouponInput disabled={true} bindTo="coupon" /> : '' }
|
||||
<CheckoutForm />
|
||||
<FormSubmit label={label} onClick={() => this.onClick()}/>
|
||||
<FormSubmit label={label} />
|
||||
</Form>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue