ywana-core8 0.0.991 → 0.0.992

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.cjs CHANGED
@@ -5538,12 +5538,13 @@ var TaskContextProvider = function TaskContextProvider(props) {
5538
5538
  url = _props$url === void 0 ? "/tasks" : _props$url,
5539
5539
  _props$frequency = props.frequency,
5540
5540
  frequency = _props$frequency === void 0 ? 1000 : _props$frequency,
5541
- children = props.children;
5541
+ children = props.children,
5542
+ ctx = props.ctx;
5542
5543
  var API = CollectionAPI$1(url, host, "");
5543
5544
  var _useState = React.useState({}),
5544
5545
  listeners = _useState[0],
5545
5546
  setListeners = _useState[1];
5546
- var appContext = React.useContext(appContext);
5547
+ var appContext = React.useContext(ctx);
5547
5548
  var appContextRef = React.useRef(appContext);
5548
5549
  React.useEffect(function () {
5549
5550
  appContextRef.current = appContext;