diff --git a/tools/tenscan/frontend/src/components/modules/dashboard/index.tsx b/tools/tenscan/frontend/src/components/modules/dashboard/index.tsx index f32bacfa08..2cee6cfa43 100644 --- a/tools/tenscan/frontend/src/components/modules/dashboard/index.tsx +++ b/tools/tenscan/frontend/src/components/modules/dashboard/index.tsx @@ -46,7 +46,9 @@ export default function Dashboard() { }, { title: "Latest L2 Batch", - value: batches?.result?.Total || "N/A", + value: latestBatch?.item?.number + ? Number(latestBatch.item.number) + : "N/A", // TODO: add change // change: "+20.1%", icon: LayersIcon,