19231: Add smaller page sizes (10 and 20 items) to load faster
[arvados-workbench2.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 } 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(mapStateToProps, mapDispatchToProps)
19     (NotFoundPanelRoot) as any;