1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { RootState } from 'store/store';
6 import { connect } from 'react-redux';
7 import { NotFoundPanelRoot, NotFoundPanelRootDataProps, NotFoundPanelOwnProps } from 'views/not-found-panel/not-found-panel-root';
9 const mapStateToProps = (state: RootState): NotFoundPanelRootDataProps => {
11 location: state.router.location,
12 clusterConfig: state.auth.config.clusterConfig,
16 const mapDispatchToProps = null;
18 export const NotFoundPanel = connect<NotFoundPanelRootDataProps, null, NotFoundPanelOwnProps>(mapStateToProps, mapDispatchToProps)