fix: resolve lint error in paypal-button (#45440)
This commit is contained in:
@ -85,7 +85,9 @@ export class PaypalButton extends Component<
|
|||||||
this.handleApproval = this.handleApproval.bind(this);
|
this.handleApproval = this.handleApproval.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
static getDerivedStateFromProps(props: PaypalButtonProps): PaypalButtonState {
|
static getDerivedStateFromProps(
|
||||||
|
props: Readonly<PaypalButtonProps>
|
||||||
|
): PaypalButtonState {
|
||||||
const { donationAmount, donationDuration } = props;
|
const { donationAmount, donationDuration } = props;
|
||||||
const configurationObj: {
|
const configurationObj: {
|
||||||
amount: number;
|
amount: number;
|
||||||
|
Reference in New Issue
Block a user