@expressive/react 0.36.0 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -113,7 +113,8 @@ function useRemote(argument) {
|
|
|
113
113
|
const refresh = () => state[1]((x) => x.bind(null));
|
|
114
114
|
if (!instance)
|
|
115
115
|
if (argument === false)
|
|
116
|
-
return
|
|
116
|
+
return () => {
|
|
117
|
+
};
|
|
117
118
|
else
|
|
118
119
|
throw new Error(`Could not find ${this} in context.`);
|
|
119
120
|
if (typeof argument === "boolean")
|
package/dist/index.mjs
CHANGED
|
@@ -85,7 +85,8 @@ function useRemote(argument) {
|
|
|
85
85
|
const refresh = () => state[1]((x) => x.bind(null));
|
|
86
86
|
if (!instance)
|
|
87
87
|
if (argument === false)
|
|
88
|
-
return
|
|
88
|
+
return () => {
|
|
89
|
+
};
|
|
89
90
|
else
|
|
90
91
|
throw new Error(`Could not find ${this} in context.`);
|
|
91
92
|
if (typeof argument === "boolean")
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"preversion": "npm run test && npm run build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@expressive/mvc": "^0.36.
|
|
34
|
+
"@expressive/mvc": "^0.36.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=16.8.0 <19.0.0"
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"react": "^18.2.0",
|
|
43
43
|
"react-test-renderer": "^18.2.0"
|
|
44
44
|
},
|
|
45
|
-
"version": "0.36.
|
|
46
|
-
"gitHead": "
|
|
45
|
+
"version": "0.36.1",
|
|
46
|
+
"gitHead": "032003a3354af0ad51cb539c6fc37e98697b77dc"
|
|
47
47
|
}
|