From 6f310098fd5f080ee47e27238e2bb2d8bbcd2695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 2 Feb 2024 18:15:38 +0100 Subject: [PATCH] fix: default max associate cause selection --- webapp-next/components/filters/AssociateCauses.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp-next/components/filters/AssociateCauses.tsx b/webapp-next/components/filters/AssociateCauses.tsx index 2e0fbfc..93d3ca5 100644 --- a/webapp-next/components/filters/AssociateCauses.tsx +++ b/webapp-next/components/filters/AssociateCauses.tsx @@ -43,7 +43,7 @@ export const FilterAssociateCauses = (props: Props) => { const [search, setSearch] = useState(''); const debouncedSearchTerm = useDebounce(search, 300); const maxSelection = parseInt( - (process.env.NEXT_PUBLIC_MAX_ASSOCIATE_CAUSE_SELECTION as string) || '2' + (process.env.NEXT_PUBLIC_MAX_ASSOCIATE_CAUSE_SELECTION as string) || '3' ); const { isOpen, onOpen, onClose } = useDisclosure();