From 421e7b8c74eb85238ccf45b1a83225a452024058 Mon Sep 17 00:00:00 2001 From: borisflagell Date: Thu, 21 Apr 2022 18:51:04 +0200 Subject: [PATCH] Update FactionRoot.tsx Run Prettier Manually fixed trailing space for lint test --- src/Faction/ui/FactionRoot.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Faction/ui/FactionRoot.tsx b/src/Faction/ui/FactionRoot.tsx index 836a9ae51..ba16f6412 100644 --- a/src/Faction/ui/FactionRoot.tsx +++ b/src/Faction/ui/FactionRoot.tsx @@ -104,7 +104,7 @@ function MainPage({ faction, rerender, onAugmentations }: IMainProps): React.Rea const canPurchaseSleeves = faction.name === FactionNames.TheCovenant && player.bitNodeN === 10; - // Note : For future-proofing sake, an assumption is made that player is intended to retain access to his gang if his karma were to somehow increases. + // Note : For future-proofing sake, an assumption is made that player is intended to retain access to his gang if his karma were to somehow increases. let isManageGangVisible = GangConstants.Names.includes(faction.name) && player.isAwareOfGang(); // karma threshold is only checked at that point, via canAccessGang(). No further check is made. let isManageGangClickable = player.canAccessGang(); @@ -128,20 +128,20 @@ function MainPage({ faction, rerender, onAugmentations }: IMainProps): React.Rea {isManageGangVisible && ( <> - - Unlocked when reaching -54000 karma : "" - } - > - - - {gangInfo} - + + Unlocked when reaching -54000 karma : ""} + > + + + {gangInfo} + - + - + setGangOpen(false)} /> )}