Add favorite panel
[arvados.git] / src / store / navigation / navigation-action.ts
index d7630d7a48bf6691c270af0248b51a948bce1171..7f782438f5565337194635a646685b6e112e1632 100644 (file)
@@ -3,11 +3,11 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { Dispatch } from "redux";
-import projectActions, { getProjectList } from "../project/project-action";
+import { projectActions, getProjectList } from "../project/project-action";
 import { push } from "react-router-redux";
 import { TreeItemStatus } from "../../components/tree/tree";
 import { findTreeItem } from "../project/project-reducer";
-import dataExplorerActions from "../data-explorer/data-explorer-action";
+import { dataExplorerActions } from "../data-explorer/data-explorer-action";
 import { PROJECT_PANEL_ID } from "../../views/project-panel/project-panel";
 import { RootState } from "../store";
 import { Resource, ResourceKind } from "../../models/resource";
@@ -58,3 +58,8 @@ export const setProjectItem = (itemId: string, itemMode: ItemMode) =>
 
         }
     };
+
+export const setFavoriteItem = (itemId: string, itemMode: ItemMode) =>
+    (dispatch: Dispatch, getState: () => RootState) => {
+        const a = 1;
+    };