ywana-core8 0.0.991 → 0.0.993

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.umd.js CHANGED
@@ -5531,12 +5531,13 @@
5531
5531
  url = _props$url === void 0 ? "/tasks" : _props$url,
5532
5532
  _props$frequency = props.frequency,
5533
5533
  frequency = _props$frequency === void 0 ? 1000 : _props$frequency,
5534
- children = props.children;
5534
+ children = props.children,
5535
+ ctx = props.ctx;
5535
5536
  var API = CollectionAPI$1(url, host, "");
5536
5537
  var _useState = React.useState({}),
5537
5538
  listeners = _useState[0],
5538
5539
  setListeners = _useState[1];
5539
- var appContext = React.useContext(appContext);
5540
+ var appContext = React.useContext(ctx);
5540
5541
  var appContextRef = React.useRef(appContext);
5541
5542
  React.useEffect(function () {
5542
5543
  appContextRef.current = appContext;