import { collectionCreateActions, createCollection } from "../../store/collections/creator/collection-creator-action";
import { dataExplorerActions } from "../../store/data-explorer/data-explorer-action";
import { PROJECT_PANEL_ID } from "../../views/project-panel/project-panel";
import { collectionCreateActions, createCollection } from "../../store/collections/creator/collection-creator-action";
import { dataExplorerActions } from "../../store/data-explorer/data-explorer-action";
import { PROJECT_PANEL_ID } from "../../views/project-panel/project-panel";
const addCollection = (data: { name: string, description: string }) =>
(dispatch: Dispatch) => {
return dispatch<any>(createCollection(data)).then(() => {
const addCollection = (data: { name: string, description: string }) =>
(dispatch: Dispatch) => {
return dispatch<any>(createCollection(data)).then(() => {