Skip to content

Commit

Permalink
update null check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Dec 12, 2023
1 parent 0ea28b0 commit 5b1e472
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 5b1e472

Please sign in to comment.