From 487c9909ff9d6fe7ed4d3754779de62217c0ee1f Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Thu, 29 Sep 2022 14:21:58 +0100 Subject: [PATCH] fix: remove old routes history object after merge --- packages/widget/src/stores/routes/useRouteExecutionStore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/widget/src/stores/routes/useRouteExecutionStore.ts b/packages/widget/src/stores/routes/useRouteExecutionStore.ts index 77505f9aa..c2b79df5a 100644 --- a/packages/widget/src/stores/routes/useRouteExecutionStore.ts +++ b/packages/widget/src/stores/routes/useRouteExecutionStore.ts @@ -90,6 +90,7 @@ export const useRouteExecutionStore = create()( } }); } + localStorage.removeItem('routes'); } catch (error) { console.log(error); }