Skip to content

Conversation

@jmgasper
Copy link
Collaborator

@jmgasper jmgasper commented Nov 2, 2025

…accounts

@jmgasper jmgasper merged commit 8a69493 into develop Nov 2, 2025
4 checks passed
Prisma.sql`c."createdAt" DESC NULLS LAST`,
Prisma.sql`c.name ASC`,
];
const fallbackOrderFragments = shouldFetchPastChallenges
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
The conditional assignment of fallbackOrderFragments based on shouldFetchPastChallenges is correct, but consider extracting this logic into a separate function for better maintainability and readability. This will make it easier to test and modify in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants