From b118e44e24d22d6b8e6d4a3ace1ec9f52ee3dd51 Mon Sep 17 00:00:00 2001 From: Armen <35077035+Armen9393@users.noreply.github.com> Date: Thu, 3 Sep 2020 10:13:33 +0300 Subject: [PATCH] Ott 393 redirect bug (#120) --- src/features/QueryParamsStorage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/QueryParamsStorage/index.tsx b/src/features/QueryParamsStorage/index.tsx index a5acc5f0..84568cb4 100644 --- a/src/features/QueryParamsStorage/index.tsx +++ b/src/features/QueryParamsStorage/index.tsx @@ -31,7 +31,7 @@ class QueryParamStorage { } updateHistory() { - history.push(`?${this.urlParams.toString()}`) + history.replace(`?${this.urlParams.toString()}`) } clear() {