From 2b78924c72faf48d6239b8f125fc5cb8946d7d70 Mon Sep 17 00:00:00 2001 From: Bill D Date: Wed, 14 Apr 2021 14:31:25 +0300 Subject: [PATCH] oops --- src/components/VerbFormDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VerbFormDisplay.tsx b/src/components/VerbFormDisplay.tsx index 1b1e90b..9d5d20e 100644 --- a/src/components/VerbFormDisplay.tsx +++ b/src/components/VerbFormDisplay.tsx @@ -64,7 +64,7 @@ function VerbFormDisplay({ displayForm, textOptions, info, showingFormInfo, engl } // setPersInf("mascSing"); // setShowingExplanation(false); - }, [block, length, chosenPersInf]); + }, [block, length, chosenPersInf, defaultLength]); // TODO: This could be handled better to avoid the react-hooks/exhaustive-deps warning ? useEffect(() => { setShowingExplanation(false);