mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setContent(props.content);
|
||||||
|
|
||||||
let counter = 5;
|
let counter = 5;
|
||||||
const timers: number[] = [];
|
const timers: number[] = [];
|
||||||
const intervalId = setInterval(() => {
|
const intervalId = setInterval(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user