mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
BUGFIX: Fix Text Effect Preventing Company Name Updates (#1828)
This commit is contained in:
parent
37ddb43b82
commit
ff85394e02
@ -30,12 +30,12 @@ export function CorruptableText(props: CorruptableTextProps): JSX.Element {
|
|||||||
const [content, setContent] = useState(props.content);
|
const [content, setContent] = useState(props.content);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setContent(props.content);
|
||||||
|
|
||||||
if (Settings.DisableTextEffects) {
|
if (Settings.DisableTextEffects) {
|
||||||
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