Optimize Query in Quizzes #10
Labels
Enhancement
New feature or request
Good First Issue
Good for newcomers
GQL
Requires work done with gql queries/mutations
JavaScript
Requires work done in JavaScript
Navigate to the
+page.svelte
in Quizzes.Optimize the queries in the getQuestionsCount and getQuestions functions so they are easier to read and use the netLvl variable to make the queries.
Here is an example:
So basically, we don't want to use the if statements checking netLvl anymore.
The text was updated successfully, but these errors were encountered: