Skip to content

Commit cf090d3

Browse files
committed
release v5.0.1
1 parent 8fc963e commit cf090d3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-easy-state",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "React state management with a minimal API. Made with ES6 Proxies.",
55
"main": "dist/cjs.es5.js",
66
"module": "dist/es.es5.js",

src/view.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ export default function view (Comp, { devtool: rawDevtool } = {}) {
7676
}
7777
}
7878

79-
ReactiveHOC.displayName = Comp.displayName || Comp.name;
79+
ReactiveHOC.displayName = Comp.displayName || Comp.name
8080
// these are inherited by class components,
8181
// but have to be copied for function components
8282
if (isStatelessComp) {
83-
ReactiveHOC.contextTypes = Comp.contextTypes;
84-
ReactiveHOC.childContextTypes = Comp.childContextTypes;
85-
ReactiveHOC.propTypes = Comp.propTypes;
86-
ReactiveHOC.defaultProps = Comp.defaultProps;
83+
ReactiveHOC.contextTypes = Comp.contextTypes
84+
ReactiveHOC.childContextTypes = Comp.childContextTypes
85+
ReactiveHOC.propTypes = Comp.propTypes
86+
ReactiveHOC.defaultProps = Comp.defaultProps
8787
}
8888

8989
return ReactiveHOC

0 commit comments

Comments
 (0)