Connect, collaborate, and grow with a community of TypeScript developers
fix: fix solve count in profile
bautistaaa6d02d7c858fc
diff --git a/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/_actions.ts b/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/_actions.tsindex e132b906..e6d6349e 100644--- a/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/_actions.ts+++ b/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/_actions.ts@@ -75,6 +75,11 @@ export async function getSolvedChallenges(userId: string) {where: {userId,isSuccessful: true,+ challenge: {+ NOT: {+ difficulty: 'EVENT',+ },+ },},select: {challenge: {