mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #3108 from nickofolas/patch-1
Initialize `purchasingAugs` state to correct value
This commit is contained in:
commit
0e526853bd
@ -176,7 +176,7 @@ export function FactionRoot(props: IProps): React.ReactElement {
|
|||||||
const setRerender = useState(false)[1];
|
const setRerender = useState(false)[1];
|
||||||
const player = use.Player();
|
const player = use.Player();
|
||||||
const router = use.Router();
|
const router = use.Router();
|
||||||
const [purchasingAugs, setPurchasingAugs] = useState(false);
|
const [purchasingAugs, setPurchasingAugs] = useState(props.augPage);
|
||||||
|
|
||||||
function rerender(): void {
|
function rerender(): void {
|
||||||
setRerender((old) => !old);
|
setRerender((old) => !old);
|
||||||
|
Loading…
Reference in New Issue
Block a user