diff options
| author | Wes Bos <wesbos@gmail.com> | 2017-09-15 14:26:13 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2017-09-15 14:26:13 -0400 |
| commit | 1450e579c67e3d969cb099dfe6c1cefd1e313fb5 (patch) | |
| tree | 5c255968082c16452f1dc8245dbbb890f91dce87 /lib | |
| parent | 7af74ff8988961c988f03c95961b70c2918521ae (diff) | |
yep
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/withData.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/withData.js b/lib/withData.js index 4720790..de67fd3 100644 --- a/lib/withData.js +++ b/lib/withData.js @@ -12,6 +12,7 @@ function getComponentDisplayName (Component) { export default ComposedComponent => { return class WithData extends React.Component { static displayName = `WithData(${getComponentDisplayName(ComposedComponent)})` + static propTypes = { serverState: PropTypes.object.isRequired } |
