Remove default props
This commit is contained in:
@@ -129,10 +129,6 @@ export default function VweKomante({commentaires, parole, paroleId}) {
|
||||
)
|
||||
}
|
||||
|
||||
VweKomante.defaultProps = {
|
||||
commentaires: null
|
||||
}
|
||||
|
||||
VweKomante.propTypes = {
|
||||
commentaires: PropTypes.array,
|
||||
parole: PropTypes.object.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user