Skip to content

Commit 357ee46

Browse files
committed
Add propTypes check
1 parent aba8410 commit 357ee46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/createConnect.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ export default function createConnect(React) {
7575
store: storeShape
7676
};
7777

78+
static propTypes = {
79+
store: storeShape
80+
};
81+
7882
shouldComponentUpdate(nextProps, nextState) {
7983
return !shallowEqual(this.state, nextState);
8084
}

0 commit comments

Comments
 (0)