From 4aed5da4ee7fc4ed806af119ef91a24b61323f58 Mon Sep 17 00:00:00 2001 From: LJNeon <23249107+LJNeon@users.noreply.github.com> Date: Fri, 23 Sep 2022 11:38:58 -0700 Subject: [PATCH] feat(corp): don't show repeat office size upgrade button --- .../ui/modals/UpgradeOfficeSizeModal.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/Corporation/ui/modals/UpgradeOfficeSizeModal.tsx b/src/Corporation/ui/modals/UpgradeOfficeSizeModal.tsx index e23831324..83d5a7952 100644 --- a/src/Corporation/ui/modals/UpgradeOfficeSizeModal.tsx +++ b/src/Corporation/ui/modals/UpgradeOfficeSizeModal.tsx @@ -100,14 +100,16 @@ export function UpgradeOfficeSizeModal(props: IProps): React.ReactElement { cost={upgradeCost15} size={CorporationConstants.OfficeInitialSize * 5} /> - + {maxNum !== 1 && maxNum !== 5 && ( + + )} );