From 157753b5840fcb099ac6e5e81e441a5a77bb954b Mon Sep 17 00:00:00 2001 From: "D. Ror" Date: Mon, 1 Jul 2024 17:57:14 -0400 Subject: [PATCH] [ReviewEntries] Prevent table flickering with parts of speech (#3217) Fixes bug which appeared in #3156. --- src/components/Buttons/PartOfSpeechButton.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Buttons/PartOfSpeechButton.tsx b/src/components/Buttons/PartOfSpeechButton.tsx index 4720e3974f..cd8359db1f 100644 --- a/src/components/Buttons/PartOfSpeechButton.tsx +++ b/src/components/Buttons/PartOfSpeechButton.tsx @@ -4,7 +4,8 @@ import { Fragment, ReactElement } from "react"; import { useTranslation } from "react-i18next"; import { GramCatGroup, GrammaticalInfo } from "api/models"; -import { IconButtonWithTooltip } from "components/Buttons"; +// Loadable is interfering with table rendering, so import this button directly +import IconButtonWithTooltip from "components/Buttons/IconButtonWithTooltip"; import { getGramCatGroupColor } from "utilities/wordUtilities"; interface PartOfSpeechButtonProps {