@overmap-ai/core 1.0.53-add-agent-conversations.20 → 1.0.53-add-agent-conversations.21

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.
@@ -6796,16 +6796,11 @@ var __publicField = (obj, key, value) => {
6796
6796
  const { store } = this.client;
6797
6797
  const state = store.getState();
6798
6798
  const projectId = state.projectReducer.activeProjectId;
6799
- const currentUser = state.userReducer.currentUser;
6800
6799
  if (!projectId) {
6801
6800
  throw new Error("No active project");
6802
6801
  }
6803
6802
  const promise = this.fetchAll(projectId);
6804
6803
  const result = await promise;
6805
- const activeProjectAccess = result.find((projectAccess) => projectAccess.user === currentUser.id);
6806
- if (!activeProjectAccess) {
6807
- throw new Error("Current user does not have a project access instance");
6808
- }
6809
6804
  store.dispatch(setProjectAccesses(result));
6810
6805
  }
6811
6806
  }