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