mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
fix mc
This commit is contained in:
parent
d955398a68
commit
dfb29626f3
@ -189,14 +189,15 @@ export function FactionRoot(props: IProps): React.ReactElement {
|
|||||||
|
|
||||||
const faction = props.faction;
|
const faction = props.faction;
|
||||||
|
|
||||||
const [purchasingAugs, setPurchasingAugs] = useState(props.augPage);
|
|
||||||
if (player && !player.factions.includes(faction.name)) {
|
if (player && !player.factions.includes(faction.name)) {
|
||||||
return <>
|
return (
|
||||||
<Typography variant="h4" color="primary">
|
<>
|
||||||
You have not joined {faction.name} yet!
|
<Typography variant="h4" color="primary">
|
||||||
</Typography>
|
You have not joined {faction.name} yet!
|
||||||
<Button onClick={() => router.toFactions()}>Back to Factions</Button>
|
</Typography>
|
||||||
</>
|
<Button onClick={() => router.toFactions()}>Back to Factions</Button>
|
||||||
|
</>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return purchasingAugs ? (
|
return purchasingAugs ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user