File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import { Suspense, useState } from "react";
55import type { TagState } from "./_filter/tag" ;
66
77import { Button } from "@/components/ui/button" ;
8+ import { Skeleton } from "@/components/ui/skeleton" ;
89import { graphql } from "@/gql" ;
910import { QuestionDifficulty , type QuestionWhereInput } from "@/gql/graphql" ;
1011import { useSuspenseQuery } from "@apollo/client/react" ;
1112import FilterSection from "./_filter" ;
1213import QuestionCard from "./_question" ;
1314import { getQuestionSolvedStatus } from "./_question/solved-status" ;
1415import type { SolvedStatus } from "./model" ;
15- import { Skeleton } from "@/components/ui/skeleton" ;
1616
1717export const LIST_QUESTIONS = graphql ( `
1818 query ListQuestions($where: QuestionWhereInput, $after: Cursor) {
@@ -70,7 +70,7 @@ export default function ChallengePageContent() {
7070 setTags = { setTags }
7171 />
7272 < div className = "flex-1" >
73- < Suspense fallback = { < Skeleton className = "w-full h-48" /> } >
73+ < Suspense fallback = { < Skeleton className = "h-48 w-full " /> } >
7474 < ChallengeQuestionsList
7575 where = { where }
7676 solvedStatusContains = { tags . solvedStatus }
You can’t perform that action at this time.
0 commit comments