From e23cf5c589ab47c225f12fe12ba2e60e57fb9a56 Mon Sep 17 00:00:00 2001 From: Juan Miguel Sanchez Mola Date: Mon, 9 Sep 2024 00:14:12 -0400 Subject: [PATCH] Fix percentages --- .../creatorStudio/creatorSteps/ResaleMarketplace.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rair-front/src/components/creatorStudio/creatorSteps/ResaleMarketplace.tsx b/rair-front/src/components/creatorStudio/creatorSteps/ResaleMarketplace.tsx index 1022b6f08..ba60a0b39 100644 --- a/rair-front/src/components/creatorStudio/creatorSteps/ResaleMarketplace.tsx +++ b/rair-front/src/components/creatorStudio/creatorSteps/ResaleMarketplace.tsx @@ -187,16 +187,15 @@ const CustomizeFees: React.FC = ({
Total:{' '} {( - total + - nodeFee + - treasuryFee / BigInt(10) ** minterDecimals + (total + nodeFee + treasuryFee) / + BigInt(10) ** minterDecimals ).toString()} %
Percentage left for the seller:{' '} {( - BigInt(100) * precisionFactor - - (total + nodeFee + treasuryFee) / BigInt(10) ** minterDecimals + (BigInt(100) * precisionFactor - (total + nodeFee + treasuryFee)) / + BigInt(10) ** minterDecimals ).toString()} %