@arbidocs/react 0.5.55 → 0.5.57

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
@@ -3336,7 +3336,8 @@ function useUploadFiles() {
3336
3336
  shared: input.shared,
3337
3337
  folder: folder ?? void 0,
3338
3338
  configExtId: input.configExtId ?? void 0,
3339
- workspaceExtId: workspaceId !== openWorkspaceId2 ? workspaceId : void 0,
3339
+ // Named even when it is the open one: batches sent after a switch stay in this workspace.
3340
+ workspaceExtId: workspaceId,
3340
3341
  onProgress: (loaded) => {
3341
3342
  loadedByBatch[index] = Math.min(loaded, bytes);
3342
3343
  report();