From 4b2fa80d4cf19a4235aa7d11b814aeee04570cc0 Mon Sep 17 00:00:00 2001 From: Seth Posner Date: Thu, 2 Mar 2023 15:04:18 -0800 Subject: [PATCH] Remove decorated data from generic repeatable display --- src/features/repeatable.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/features/repeatable.tsx b/src/features/repeatable.tsx index 91e1052..ae3ecf4 100644 --- a/src/features/repeatable.tsx +++ b/src/features/repeatable.tsx @@ -225,12 +225,7 @@ export function createRepeatable( <>Amount: {formatWhole(genericRepeatable.amount.value)}, {unref(genericRepeatable.limit) !== Decimal.dInf ? ( <> / {formatWhole(unref(genericRepeatable.limit))} - ) : undefined}, - {(genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount == null ? null : ( - Decimal.gt(unref((genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount), 0) ? ( - <> + {formatWhole(unref((genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount))} - ) : undefined) - } + ) : undefined} ) )}