diff --git a/site/source/components/utils/useSearchParamsSimulationSharing.ts b/site/source/components/utils/useSearchParamsSimulationSharing.ts index ed051cd9a..4bced762d 100644 --- a/site/source/components/utils/useSearchParamsSimulationSharing.ts +++ b/site/source/components/utils/useSearchParamsSimulationSharing.ts @@ -113,7 +113,7 @@ export const cleanSearchParams = ( setSearchParams(searchParams.toString(), { replace: true }) } -const getRulesParamNames = ( +export const getRulesParamNames = ( parsedRules: ParsedRules ): [DottedName, ParamName][] => ( @@ -126,7 +126,7 @@ const getRulesParamNames = ( ruleNode.rawNode['identifiant court'] || dottedName, ]) -function getSearchParamsFromSituation( +export function getSearchParamsFromSituation( engine: Engine, situation: Situation, dottedNameParamName: [DottedName, ParamName][]