17782: Fixes absolute import paths from '~/somedir/...' to 'somedir/...'
[arvados.git] / src / views / not-found-panel / not-found-panel.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
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';
8
9 const mapStateToProps = (state: RootState): NotFoundPanelRootDataProps => {
10     return {
11         location: state.router.location,
12         clusterConfig: state.auth.config.clusterConfig,
13     };
14 };
15
16 const mapDispatchToProps = null;
17
18 export const NotFoundPanel = connect<NotFoundPanelRootDataProps, null, NotFoundPanelOwnProps>(mapStateToProps, mapDispatchToProps)
19     (NotFoundPanelRoot);