Initialize purchasingAugs state to correct value

Overwritten in merge commit, just fixing before I forget haha
This commit is contained in:
nickofolas 2022-03-10 21:21:08 -06:00 committed by GitHub
parent 79c8784ed0
commit beebcefb18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);