Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit e93fe2e

Browse files
committed
Cleaning up Control component
1 parent 50a883e commit e93fe2e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/control-component.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -565,14 +565,6 @@ function createControlClass(customControlPropsMap = {}, s = defaultStrategy) {
565565

566566
Control.propTypes = propTypes;
567567

568-
Control.contextTypes = {
569-
localStore: PropTypes.shape({
570-
subscribe: PropTypes.func,
571-
dispatch: PropTypes.func,
572-
getState: PropTypes.func,
573-
}),
574-
};
575-
576568
Control.defaultProps = {
577569
changeAction: s.actions.change,
578570
updateOn: 'change',

0 commit comments

Comments
 (0)