Skip to content

Commit

Permalink
fix: pool apr (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee authored Feb 15, 2024
1 parent d55e0bc commit c7ad88a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions app/src/views/PoolPage/PoolItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,7 @@ export default defineComponent({
"flex items-center justify-end font-mono",
]}
>
{isNil(this.$props.poolStat?.rewardApr)
? "..."
: `${(Number(this.$props.poolStat?.rewardApr) ?? 0).toFixed(2)}%`}
{isNil(this.$props.poolStat?.rewardApr) ? "..." : `0.00%`}
</div>
<div
class={[
Expand Down
4 changes: 1 addition & 3 deletions app/src/views/StatsPage/StatsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ export default defineComponent({
<td class="text-mono text-right align-middle">
${prettyNumber(item.volume)}
</td>
<td class="text-mono text-right align-middle">
{item.rewardApr}%
</td>
<td class="text-mono text-right align-middle">0.00%</td>
<td class="text-mono text-right align-middle">
{item.pairedApr}%
</td>
Expand Down

0 comments on commit c7ad88a

Please sign in to comment.