File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
frontends/web/src/components/transactions Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -161,18 +161,17 @@ const Amounts = ({
161161} : TAmountsProps ) => {
162162 const txTypeClass = `txAmount-${ type } ` ;
163163 const recv = type === 'receive' ;
164- const displayAmount = recv ? amount . amount : deductedAmount . amount ;
165- const sign = displayAmount ? getTxSign ( type ) : '' ;
164+ const displayAmount = recv ? amount : deductedAmount ;
166165
167166 return (
168167 < span className = { `
169168 ${ styles . txAmountsColumn || '' }
170169 ${ styles [ txTypeClass ] || '' }
171170 ` } >
172171 < span className = { styles . txAmount } >
173- { sign }
172+ { getTxSign ( type ) }
174173 < AmountWithUnit
175- amount = { amount }
174+ amount = { displayAmount }
176175 unitClassName = { styles . txUnit }
177176 />
178177 </ span >
You can’t perform that action at this time.
0 commit comments