@opengeni/react 0.34.1 → 0.34.2

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 CHANGED
@@ -2999,6 +2999,7 @@ function useWorkspaceCapture(sessionId, options = {}) {
2999
2999
  if (!enabled) return;
3000
3000
  if (visibleAnnouncedRevision === null) return;
3001
3001
  if (loadedRevision !== null && visibleAnnouncedRevision <= loadedRevision) return;
3002
+ if (requestAbortRef.current) return;
3002
3003
  void refresh();
3003
3004
  }, [enabled, visibleAnnouncedRevision, loadedRevision, refresh]);
3004
3005
  const isStale = loadedRevision !== null && visibleAnnouncedRevision !== null && visibleAnnouncedRevision > loadedRevision;