BUGFIX: Fix #998 (#1233)

CorruptableText wasn't updating state properly
This commit is contained in:
catloversg 2024-04-27 16:10:17 +07:00 committed by GitHub
parent 3fac471d51
commit de8883ed0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,6 +34,8 @@ export function CorruptableText(props: CorruptableTextProps): JSX.Element {
return; return;
} }
setContent(props.content);
let counter = 5; let counter = 5;
const timers: number[] = []; const timers: number[] = [];
const intervalId = setInterval(() => { const intervalId = setInterval(() => {