handleSort("questionId")} - className={`${styles.clickable} ${sortKey === "questionId" ? styles[sortOrder] : ""}`} - > - ID - | - handleSort("title")}
- className={`${styles.clickable} ${sortKey === "title" ? styles[sortOrder] : ""}`}
+
+ {loading ? (
+
+
|
- Categories | -handleSort("complexity")} - className={`${styles.clickable} ${sortKey === "complexity" ? styles[sortOrder] : ""}`} - > - Complexity - | -Actions | -||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{question.questionId} | -
-
-
- |
-
-
- {question.categories.map((tag, index) => (
-
- {tag}
-
- ))}
-
- |
- {question.complexity} | -
- |
-