mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 21:52:30 +01:00
CorruptableText wasn't updating state properly
This commit is contained in:
parent
3fac471d51
commit
de8883ed0f
@ -34,6 +34,8 @@ export function CorruptableText(props: CorruptableTextProps): JSX.Element {
|
||||
return;
|
||||
}
|
||||
|
||||
setContent(props.content);
|
||||
|
||||
let counter = 5;
|
||||
const timers: number[] = [];
|
||||
const intervalId = setInterval(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user