diff --git a/.eslintrc.js b/.eslintrc.js index 968e82a..b219154 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,5 +16,6 @@ module.exports = { extensions: ['.js', '.jsx'], }, ], + 'react/require-default-props': 'off', }, }; diff --git a/src/withTrackingComponentDecorator.js b/src/withTrackingComponentDecorator.js index c932b35..97a5e2d 100644 --- a/src/withTrackingComponentDecorator.js +++ b/src/withTrackingComponentDecorator.js @@ -73,7 +73,6 @@ export default function withTrackingComponentDecorator( PropTypes.shape({ current: PropTypes.any }), ]), }; - WithTracking.defaultProps = { rtFwdRef: undefined }; hoistNonReactStatics(WithTracking, DecoratedComponent); return WithTracking;