From 717fd0aa3f191fb996112d94cca631d608539339 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 25 Sep 2025 12:06:19 +0100 Subject: [PATCH] fix merge fails --- src/UrlParams.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/UrlParams.ts b/src/UrlParams.ts index 6a05f558..4eb69298 100644 --- a/src/UrlParams.ts +++ b/src/UrlParams.ts @@ -343,8 +343,6 @@ let urlParamCache: { export const getUrlParams = ( search = window.location.search, hash = window.location.hash, - /** Skipping the cache might be needed in tests, to allow recomputing based on mocked platform changes. */ - skipCache = false, ): UrlParams => { if ( urlParamCache.search === search && @@ -543,15 +541,12 @@ export const computeUrlParams = (search = "", hash = ""): UrlParams => { intentAndPlatformDerivedConfiguration, ); - const params = { + return { ...properties, ...intentPreset, ...pickBy(configuration, (v?: unknown) => v !== undefined), ...intentAndPlatformDerivedConfiguration, }; - urlParamCache = { search, hash, params }; - - return params; }; /**