19231: Add smaller page sizes (10 and 20 items) to load faster
[arvados-workbench2.git] / src / store / shared-with-me-panel / shared-with-me-panel-actions.ts
index 2553086a6c9249260dc2e1c9578a4f80b916570c..c8731ae68e55e9455eb00cbbd13915d464022eb3 100644 (file)
@@ -3,16 +3,7 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { bindDataExplorerActions } from "../data-explorer/data-explorer-action";
-import { Dispatch } from 'redux';
-import { ServiceRepository } from "~/services/services";
-import { RootState } from '~/store/store';
 
 export const SHARED_WITH_ME_PANEL_ID = "sharedWithMePanel";
 export const sharedWithMePanelActions = bindDataExplorerActions(SHARED_WITH_ME_PANEL_ID);
-
-export const loadSharedWithMePanel = () =>
-    (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
-        dispatch(sharedWithMePanelActions.REQUEST_ITEMS());
-    };
-
-
+export const loadSharedWithMePanel = () => sharedWithMePanelActions.REQUEST_ITEMS();