diff --git a/dashboard/src/scenes/person/list.js b/dashboard/src/scenes/person/list.js index 4b3b88182..e1a042e6b 100644 --- a/dashboard/src/scenes/person/list.js +++ b/dashboard/src/scenes/person/list.js @@ -26,6 +26,7 @@ import useSearchParamState from '../../services/useSearchParamState'; import { useDataLoader } from '../../components/DataLoader'; import ExclamationMarkButton from '../../components/tailwind/ExclamationMarkButton'; import { customFieldsMedicalFileSelector } from '../../recoil/medicalFiles'; +import useMinimumWidth from '../../services/useMinimumWidth'; const limit = 20; @@ -92,6 +93,7 @@ const filterPersonsWithAllFieldsSelector = selector({ const List = () => { useTitle('Personnes'); useDataLoader({ refreshOnMount: true }); + const isDesktop = useMinimumWidth('sm'); const filterPersonsWithAllFields = useRecoilValue(filterPersonsWithAllFieldsSelector); const [search, setSearch] = useSearchParamState('search', ''); @@ -142,7 +144,7 @@ const List = () => { -
+
Recherche et filtres...