From cc4c6d150b9cad08b8cb0e1e0f973da6d30d1dd9 Mon Sep 17 00:00:00 2001
From: catloversg <152669316+catloversg@users.noreply.github.com>
Date: Sun, 20 Oct 2024 15:09:30 +0700
Subject: [PATCH] UI: Remove unnecessary newlines when augmentation does not
have stats (#1698)
---
src/Augmentation/ui/PurchasableAugmentations.tsx | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/Augmentation/ui/PurchasableAugmentations.tsx b/src/Augmentation/ui/PurchasableAugmentations.tsx
index b99642319..3ddc2e870 100644
--- a/src/Augmentation/ui/PurchasableAugmentations.tsx
+++ b/src/Augmentation/ui/PurchasableAugmentations.tsx
@@ -168,9 +168,13 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac
const description = (
<>
{info}
-
-
- {aug.stats}
+ {aug.stats && (
+ <>
+
+
+ {aug.stats}
+ >
+ )}
>
);