Skip to content

Commit

Permalink
fix sonarqube warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jul 5, 2024
1 parent aa742af commit 73d33f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const ValidatorItem: FunctionComponent<{
color: colors["neutral-text-body2"],
}}
>
APR: {apr && apr > 0 ? apr.toFixed(2).toString() + "%" : ""}
APR: {apr?.toFixed(2).toString() + "%"}
</OWText>
</View>
) : null}
Expand Down

0 comments on commit 73d33f6

Please sign in to comment.