mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Initialize purchasingAugs
state to correct value
Overwritten in merge commit, just fixing before I forget haha
This commit is contained in:
parent
79c8784ed0
commit
beebcefb18
@ -176,7 +176,7 @@ export function FactionRoot(props: IProps): React.ReactElement {
|
||||
const setRerender = useState(false)[1];
|
||||
const player = use.Player();
|
||||
const router = use.Router();
|
||||
const [purchasingAugs, setPurchasingAugs] = useState(false);
|
||||
const [purchasingAugs, setPurchasingAugs] = useState(props.augPage);
|
||||
|
||||
function rerender(): void {
|
||||
setRerender((old) => !old);
|
||||
|
Loading…
Reference in New Issue
Block a user