From 47daf168721dee66c52a8cb0267d9a5e69517676 Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 14 Nov 2022 01:43:41 -0500 Subject: [PATCH] Fix wired furni selector when changing wireds --- src/components/wired/views/WiredBaseView.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/wired/views/WiredBaseView.tsx b/src/components/wired/views/WiredBaseView.tsx index 1128f19e..92cc77f2 100644 --- a/src/components/wired/views/WiredBaseView.tsx +++ b/src/components/wired/views/WiredBaseView.tsx @@ -81,12 +81,9 @@ export const WiredBaseView: FC> = props => return []; }); } - }, [ trigger, hasSpecialInput, requiresFurni, setIntParams, setStringParam, setFurniIds ]); - useEffect(() => - { setAllowsFurni(requiresFurni); - }, [ requiresFurni, setAllowsFurni ]); + }, [ trigger, hasSpecialInput, requiresFurni, setIntParams, setStringParam, setFurniIds, setAllowsFurni ]); return (