From 72f48f7f33cbaf0351fd252cc1d221f5ebcfba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 21 Apr 2022 16:16:26 +0100 Subject: [PATCH] fix(ui): fix history saving --- ui/src/Components/NavBar/FilterInput/History.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/Components/NavBar/FilterInput/History.tsx b/ui/src/Components/NavBar/FilterInput/History.tsx index f2fd305c7..e1af30a04 100644 --- a/ui/src/Components/NavBar/FilterInput/History.tsx +++ b/ui/src/Components/NavBar/FilterInput/History.tsx @@ -242,7 +242,7 @@ const History: FC<{ history.setFilters(newHistory); } }), - [alertStore.filters.values, history] + [] // eslint-disable-line react-hooks/exhaustive-deps ); const ref = useRef(null);