Skip to content

Commit 6e63487

Browse files
fee
1 parent d2367c4 commit 6e63487

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/accept-offer-dialog.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,17 @@ export default function AcceptOfferDialog({
121121
<div className="text-xl font-semibold">
122122
<div className="flex items-center justify-between">
123123
<p>Earning details</p>
124-
<p>--- LORDS</p>
125-
</div>
126-
<div className="mt-2 flex items-center justify-between text-sm font-medium text-muted-foreground">
127-
<p>Arkmarket fees 2%</p>
128-
<p>-- LORDS</p>
124+
<p>{formattedAmount} LORDS</p>
129125
</div>
130126
<div className="mt-0.5 flex items-center justify-between text-sm font-medium text-muted-foreground">
131-
<p>Creator royalties 2%</p>
132-
<p>-- LORDS</p>
127+
<p>Fee 5%</p>
128+
<p>
129+
{(
130+
(BigInt(formattedAmount) * BigInt(5)) /
131+
BigInt(100)
132+
).toString()}{" "}
133+
LORDS
134+
</p>
133135
</div>
134136
</div>
135137
</div>

0 commit comments

Comments
 (0)