1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Dispatch } from 'redux';
6 import { navigateTo } from 'store/navigation/navigation-action';
8 export const navigateFromSidePanel = (id: string) =>
9 (dispatch: Dispatch) => {
10 dispatch<any>(navigateTo(id));