@arbidocs/react 0.5.56 → 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.cjs CHANGED
@@ -3327,7 +3327,8 @@ function useUploadFiles() {
3327
3327
  shared: input.shared,
3328
3328
  folder: folder ?? void 0,
3329
3329
  configExtId: input.configExtId ?? void 0,
3330
- workspaceExtId: workspaceId !== openWorkspaceId2 ? workspaceId : void 0,
3330
+ // Named even when it is the open one: batches sent after a switch stay in this workspace.
3331
+ workspaceExtId: workspaceId,
3331
3332
  onProgress: (loaded) => {
3332
3333
  loadedByBatch[index] = Math.min(loaded, bytes);
3333
3334
  report();