Compare commits

..

No commits in common. "main" and "metrics" have entirely different histories.

View File

@ -6,7 +6,7 @@ interface MetricsData {
totalRuns: number;
activePlayers24h: number;
totalBossesDefeated: number;
totalPrestigeLevels: number;
totalPrestigeLevelsGained: 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;
export default Dashboard;