//
// SPDX-License-Identifier: AGPL-3.0
+import { Dispatch } from "redux";
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 = () => (dispatch: Dispatch) => {
+ dispatch(sharedWithMePanelActions.RESET_EXPLORER_SEARCH_VALUE());
+ dispatch(sharedWithMePanelActions.REQUEST_ITEMS());
+};
\ No newline at end of file