From b4fe0fe5a3b26b57d5676c90f4031d5d8e54ee6d Mon Sep 17 00:00:00 2001 From: Dmytro Ilnytskyy Date: Wed, 31 Jan 2024 18:27:47 +0200 Subject: [PATCH] Reset internal component status of seed --- src/ui/TopToolbar/Filter/LungsTool.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/TopToolbar/Filter/LungsTool.jsx b/src/ui/TopToolbar/Filter/LungsTool.jsx index 78d9eee..1522c91 100644 --- a/src/ui/TopToolbar/Filter/LungsTool.jsx +++ b/src/ui/TopToolbar/Filter/LungsTool.jsx @@ -33,6 +33,7 @@ export const LungsTool = () => { useEffect(() => { if (isSeed) { dispatch({ type: StoreActionType.SET_LUNGS_SEED_STATUS, lungsSeedStatus: true }); + setSeed(false); } }, [isSeed]); return (