mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
faction dont rerender
This commit is contained in:
parent
cefd499ff6
commit
73834d03cd
30
dist/vendor.bundle.js
vendored
30
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -72,10 +72,11 @@ export function FactionRoot(props: IProps): React.ReactElement {
|
|||||||
setRerender((old) => !old);
|
setRerender((old) => !old);
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
// Enabling this breaks donations.
|
||||||
const id = setInterval(rerender, 200);
|
// useEffect(() => {
|
||||||
return () => clearInterval(id);
|
// const id = setInterval(rerender, 200);
|
||||||
}, []);
|
// return () => clearInterval(id);
|
||||||
|
// }, []);
|
||||||
|
|
||||||
const faction = props.faction;
|
const faction = props.faction;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user