From dfb29626f33e7964012bcc0dab40ccaac89dc95c Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Thu, 10 Mar 2022 22:17:01 -0500 Subject: [PATCH] fix mc --- src/Faction/ui/FactionRoot.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Faction/ui/FactionRoot.tsx b/src/Faction/ui/FactionRoot.tsx index 0e9faeb29..f0a8c4af9 100644 --- a/src/Faction/ui/FactionRoot.tsx +++ b/src/Faction/ui/FactionRoot.tsx @@ -189,14 +189,15 @@ export function FactionRoot(props: IProps): React.ReactElement { const faction = props.faction; - const [purchasingAugs, setPurchasingAugs] = useState(props.augPage); if (player && !player.factions.includes(faction.name)) { - return <> - - You have not joined {faction.name} yet! - - - + return ( + <> + + You have not joined {faction.name} yet! + + + + ); } return purchasingAugs ? (