From bcadbb2dcde0c601b016224807185c3dcde158d9 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 25 Oct 2023 20:10:54 +0200 Subject: [PATCH] Fix algebraic order of fees Spam fees must come immediately after the base fee since it multiplies the base fee. --- components/fee-button.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/fee-button.js b/components/fee-button.js index 641b76ab..f2220f8d 100644 --- a/components/fee-button.js +++ b/components/fee-button.js @@ -20,16 +20,16 @@ function Receipt ({ cost, repetition, imageFees, baseFee, parentId, boost }) { {numWithUnits(baseFee, { abbreviate: false })} {parentId ? 'reply' : 'post'} fee - {imageFees && - - + {imageFees.unpaid} x {numWithUnits(imageFees.fees, { abbreviate: false })} - image fees - } {repetition > 0 && x 10{repetition} {repetition} {parentId ? 'repeat or self replies' : 'posts'} in 10m } + {imageFees && + + + {imageFees.unpaid} x {numWithUnits(imageFees.fees, { abbreviate: false })} + image fees + } {boost > 0 && + {numWithUnits(boost, { abbreviate: false })}