diff --git a/src/ui/React/CorruptableText.tsx b/src/ui/React/CorruptableText.tsx index 2d602fe02..189dff9e9 100644 --- a/src/ui/React/CorruptableText.tsx +++ b/src/ui/React/CorruptableText.tsx @@ -30,12 +30,12 @@ export function CorruptableText(props: CorruptableTextProps): JSX.Element { const [content, setContent] = useState(props.content); useEffect(() => { + setContent(props.content); + if (Settings.DisableTextEffects) { return; } - setContent(props.content); - let counter = 5; const timers: number[] = []; const intervalId = setInterval(() => {