Remove default props
This commit is contained in:
@@ -91,14 +91,6 @@ export default function StripePayment({isLoading, selectedMontant, setSelectedMo
|
||||
)
|
||||
}
|
||||
|
||||
StripePayment.defaultProps = {
|
||||
selectedMontant: null,
|
||||
validMontant: null,
|
||||
paymentIntent: null,
|
||||
clientEmail: null,
|
||||
error: null
|
||||
}
|
||||
|
||||
StripePayment.propTypes = {
|
||||
isLoading: PropTypes.bool.isRequired,
|
||||
selectedMontant: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user