From 91f98ecce828430d23a0a61f600af8c9c6b592b3 Mon Sep 17 00:00:00 2001 From: patrykkopycinski Date: Wed, 26 Feb 2020 13:01:06 +0100 Subject: [PATCH] Update x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx Co-Authored-By: Xavier Mouligneau <189600+XavierM@users.noreply.github.com> --- .../legacy/plugins/siem/public/containers/global_time/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx b/x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx index 9239e27f11b4b..9e4a3057afae6 100644 --- a/x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx +++ b/x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx @@ -52,7 +52,7 @@ export const useGlobalTime = () => { return () => { deleteAllQuery({ id: 'global' }); }; - }, []); + }, [isInitializing , deleteAllQuery]); return { isInitializing,