Merge pull request #3108 from nickofolas/patch-1

Initialize `purchasingAugs` state to correct value
This commit is contained in:
hydroflame 2022-03-10 22:45:11 -05:00 committed by GitHub
commit 0e526853bd
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);