11import React , { useMemo } from 'react' ;
22import { useTranslation } from 'react-i18next' ;
33import { useSelector } from 'react-redux' ;
4- import { useLocation , useHistory } from 'react-router-dom' ;
4+ import { Redirect , useLocation , useHistory } from 'react-router-dom' ;
55import Table from '../../../components/elements/Table' ;
66import { Flex , Text , Box } from 'theme-ui' ;
77
@@ -19,7 +19,6 @@ import useTideDashboardPatients from './useTideDashboardPatients';
1919import usePruneInvalidFilters from './usePruneInvalidFilters' ;
2020import useTableColumns from './useTableColumns' ;
2121import EmptyContentNode from './EmptyContentNode' ;
22- import { Redirect , useLocation } from 'react-router-dom' ;
2322import useAuthorizationGate from './useAuthorizationGate' ;
2423
2524import PatientDrawerController from './PatientDrawerController' ;
@@ -32,7 +31,6 @@ const Gap = () => <Box sx={{ marginLeft: 'auto' }}></Box>;
3231const tableContainerProps = { sx : { containerType : 'inline-size' } } ;
3332
3433const TideDashboardV2 = ( { api } ) => {
35- const { search } = useLocation ( ) ;
3634 const { t } = useTranslation ( ) ;
3735 const { search, pathname } = useLocation ( ) ;
3836 const history = useHistory ( ) ;
0 commit comments