diff --git a/liquidity/ui/src/components/Rewards/Rewards.tsx b/liquidity/ui/src/components/Rewards/Rewards.tsx index 790159ad4..cd6ecef92 100644 --- a/liquidity/ui/src/components/Rewards/Rewards.tsx +++ b/liquidity/ui/src/components/Rewards/Rewards.tsx @@ -112,7 +112,6 @@ export const Rewards = ({ address={item.distributorAddress} readOnly={readOnly} total={item.total} - decimals={item.decimals} /> ))} diff --git a/liquidity/ui/src/components/Rewards/RewardsRow.tsx b/liquidity/ui/src/components/Rewards/RewardsRow.tsx index 91a9e8bae..3ac099f50 100644 --- a/liquidity/ui/src/components/Rewards/RewardsRow.tsx +++ b/liquidity/ui/src/components/Rewards/RewardsRow.tsx @@ -18,7 +18,6 @@ interface RewardsRowInterface { address: string; readOnly: boolean; total: number; - decimals: number; } export const RewardsRow = ({ @@ -31,7 +30,6 @@ export const RewardsRow = ({ address, readOnly, total, - decimals, }: RewardsRowInterface) => { const { accountId, collateralSymbol, poolId } = useParams(); @@ -111,13 +109,13 @@ export const RewardsRow = ({ {` ${symbol}`} - {lifetimeClaimed > 0 ? ( + {lifetimeClaimed > 0 && ( Lifetime:   - + {symbol} - ) : null} + )} {!readOnly && (