Skip to content

Commit 1a760db

Browse files
committed
v1.0.22
1 parent ed6c780 commit 1a760db

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@barteh/react-withservice",
3-
"version": "1.0.21",
3+
"version": "1.0.22",
44
"description": "An HOC injects and manages observable data services in a react Component",
55
"main": "index.js",
66
"scripts": {

src/with-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export const withService = (srvs) => Comp => {
203203

204204
return (
205205
<div>
206-
{!this.state.error && <Comp {...this.props} {...this.state}/>}
206+
{this.canrender && <Comp {...this.props} {...this.state}/>}
207207
</div>
208208
);
209209
}

0 commit comments

Comments
 (0)