Remove default props

This commit is contained in:
2023-07-22 13:25:03 +04:00
parent f2c686d684
commit b2497acd90
11 changed files with 0 additions and 65 deletions
-9
View File
@@ -63,15 +63,6 @@ export default function StripeDialog({
)
}
StripeDialog.defaultProps = {
selectedMontant: null,
validMontant: null,
paymentIntent: null,
clientEmail: null,
error: null,
children: null
}
StripeDialog.propTypes = {
open: PropTypes.bool.isRequired,
handleClose: PropTypes.func.isRequired,