Skip to content

Commit ba6b0ef

Browse files
authored
Merge pull request #12 from metalabdesign/fix-prop-types
Add missing propTypes.shape call.
2 parents 2c8c4f3 + 986f414 commit ba6b0ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/connect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import {componentsShape, renderMapShape, getDisplayName} from './util';
1919
export default ({scope, ...defaultProps} = {}) => (WrappedComponent) => {
2020
class Connect extends Component {
2121
static propTypes = {
22-
___relocationDispatch___: {
22+
___relocationDispatch___: PropTypes.shape({
2323
removeComponent: PropTypes.func.isRequired,
24-
},
24+
}),
2525
___relocationState___: PropTypes.shape({
2626
components: componentsShape.isRequired,
2727
renderMap: renderMapShape.isRequired,

0 commit comments

Comments
 (0)