diff --git a/frontend/src/components/TagType.tsx b/frontend/src/components/TagType.tsx index 4272fcf..2bb5fae 100644 --- a/frontend/src/components/TagType.tsx +++ b/frontend/src/components/TagType.tsx @@ -1,11 +1,11 @@ -import { useParams } from "react-router-dom"; -import { useEffect, useState } from "react"; -import { Loader2 } from "lucide-react"; +import ErrorAlert from "@/components/ErrorAlert"; +import InfiniteScroll from "@/components/InfiniteScroll"; import { TagCard } from "@/components/TagCard"; import { useSearchTags } from "@/services/api/programmingForumComponents"; import { TagDetails } from "@/services/api/programmingForumSchemas"; -import ErrorAlert from "@/components/ErrorAlert"; -import InfiniteScroll from "@/components/InfiniteScroll"; +import { Loader2 } from "lucide-react"; +import { useEffect, useState } from "react"; +import { useParams } from "react-router-dom"; export default function SubtypePage() { const { typeId } = useParams<{ typeId: string }>(); @@ -151,7 +151,7 @@ export default function SubtypePage() { {/* Tags in this Category Section */}
Bookmark questions to view them here.
- )} + {!questions.length &&Bookmark questions to view them here.
}