diff --git a/components/metrics/MetricsTable.js b/components/metrics/MetricsTable.js
index 81374f86..e86adf48 100644
--- a/components/metrics/MetricsTable.js
+++ b/components/metrics/MetricsTable.js
@@ -87,7 +87,7 @@ export default function MetricsTable({
- {data?.length === 0 && (
+ {rankings?.length === 0 && (
getRow(row))
- : data?.length > 0 && (
+ : rankings.length > 0 && (
{Row}
)}
- {limit && data.length > limit && (
+ {limit && rankings.length > limit && (
} size="xsmall" onClick={() => onExpand(type)}>