File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments