From 32dcae5a480fe4e61930e711b159f3b0d44048c7 Mon Sep 17 00:00:00 2001 From: Alex Tideman Date: Tue, 22 Mar 2022 15:51:51 -0500 Subject: [PATCH] Remove next === current check --- src/lib/utilities/update-query-parameters.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/utilities/update-query-parameters.ts b/src/lib/utilities/update-query-parameters.ts index 0675ca6b8..8012ecd58 100644 --- a/src/lib/utilities/update-query-parameters.ts +++ b/src/lib/utilities/update-query-parameters.ts @@ -20,8 +20,6 @@ export const updateQueryParameters = async ({ const current = url.searchParams.get(parameter); const next = String(value); - if (current === next) return; - if (value) { url.searchParams.set(parameter, next); } else {