d9d1fc4acd86275d7ffc8f7f515f39b1b5c95be0
[arvados-workbench2.git] / src / views-components / data-explorer / data-explorer.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { connect } from "react-redux";
6 import { RootState } from "../../store/store";
7 import DataExplorer from "../../components/data-explorer/data-explorer";
8 import { getDataExplorer } from "../../store/data-explorer/data-explorer-reducer";
9
10 export default connect((state: RootState, props: { id: string }) =>
11     getDataExplorer(state.dataExplorer, props.id)
12 )(DataExplorer);