Skip to content

Commit

Permalink
add $ to ether price (#1694)
Browse files Browse the repository at this point in the history
* add `$` to ether price

* update null check
  • Loading branch information
Jennievon authored Dec 12, 2023
1 parent 0f690c9 commit 457777e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Dashboard() {
const DASHBOARD_DATA = [
{
title: "Ether Price",
value: price?.ethereum?.usd || "N/A",
value: price?.ethereum?.usd ? `$${price.ethereum.usd}` : "N/A",
// TODO: add change
// change: "+20.1%",
icon: RocketIcon,
Expand Down

0 comments on commit 457777e

Please sign in to comment.