@arrai-innovations/reactive-helpers 8.5.6 → 9.0.0
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/package.json +1 -1
- package/use/listSubscription.js +3 -3
package/package.json
CHANGED
package/use/listSubscription.js
CHANGED
|
@@ -156,10 +156,10 @@ export function useListSubscription({ listInstance, props, functions }) {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
function
|
|
159
|
+
function clearError() {
|
|
160
160
|
state.subscriptionErrored = false;
|
|
161
161
|
state.subscriptionError = null;
|
|
162
|
-
listInstance.
|
|
162
|
+
listInstance.clearError();
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
const es = effectScope();
|
|
@@ -223,7 +223,7 @@ export function useListSubscription({ listInstance, props, functions }) {
|
|
|
223
223
|
subscribeIntent,
|
|
224
224
|
subscribe: publicSubscribe,
|
|
225
225
|
unsubscribe: publicUnsubscribe,
|
|
226
|
-
|
|
226
|
+
clearError,
|
|
227
227
|
effectScope: es,
|
|
228
228
|
};
|
|
229
229
|
}
|