Skip to content

Commit

Permalink
fix(webapp): fix error when ATH blocks array is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Dec 4, 2023
1 parent 9133350 commit 89d8e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/routes/EVMDashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const EVMDashboard = () => {
loading={loading}
>
<BodyGraphValue
links={EVMStats?.tps_all_time_high?.blocks.map(block =>
links={(EVMStats?.tps_all_time_high?.blocks || []).map(block =>
getEVMBlockNumUrl(block),
)}
/>
Expand Down

0 comments on commit 89d8e7c

Please sign in to comment.