Skip to content

Commit 782c65c

Browse files
committed
fix: types and typos
1 parent 6dfb439 commit 782c65c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/dashboard/src/app/team/[team_slug]/(team)/~/ecosystem/[slug]/(active)/components/EcosystemSlugLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ export async function EcosystemLayoutSlug({
3333
}
3434

3535
const allTimeStatsPromise = getEcosystemWalletUsage({
36-
ecosystemId: ecosystem.id,
36+
ecosystemSlug: ecosystem.slug,
3737
from: new Date(2022, 0, 1),
3838
to: new Date(),
3939
period: "all",
4040
});
4141

4242
const monthlyStatsPromise = getEcosystemWalletUsage({
43-
ecosystemId: ecosystem.id,
43+
ecosystemSlug: ecosystem.slug,
4444
from: new Date(new Date().getFullYear(), new Date().getMonth(), 1),
4545
to: new Date(),
4646
period: "month",

apps/dashboard/src/data/analytics/wallets/ecosystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function getEcosystemWalletUsage(args: {
3030
);
3131

3232
if (res?.status !== 200) {
33-
console.error("Failed to fetch ecosystem-app wallet stats");
33+
console.error("Failed to fetch ecosystem wallet stats");
3434
return null;
3535
}
3636

0 commit comments

Comments
 (0)