Skip to content

Commit

Permalink
BUGFIX: Fix Text Effect Preventing Company Name Updates (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerdpie authored Dec 12, 2024
1 parent 37ddb43 commit ff85394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/React/CorruptableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit ff85394

Please sign in to comment.