diff --git a/app/src/components/Dashboard.tsx b/app/src/components/Dashboard.tsx index a409a9f..d008930 100644 --- a/app/src/components/Dashboard.tsx +++ b/app/src/components/Dashboard.tsx @@ -6,7 +6,7 @@ interface MetricsData { totalRuns: number; activePlayers24h: number; totalBossesDefeated: number; - totalPrestigeLevelsGained: number; + totalPrestigeLevels: number; } const SUBGRAPH_URL = "https://api.studio.thegraph.com/query/75782/slay-the-moloch-base-mainnet/version/latest"; @@ -38,7 +38,7 @@ const Dashboard = () => { }); const data = await response.json(); - + setMetrics({ totalPlayers: parseInt(data.data.globalStat.totalPlayers), totalRuns: parseInt(data.data.globalStat.totalRuns), @@ -82,4 +82,4 @@ const Dashboard = () => { ); }; -export default Dashboard; \ No newline at end of file +export default Dashboard;