diff --git a/frontend/src/app/category-view/page.tsx b/frontend/src/app/category-view/page.tsx index 00e75832..f458208b 100644 --- a/frontend/src/app/category-view/page.tsx +++ b/frontend/src/app/category-view/page.tsx @@ -5,6 +5,8 @@ import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Category } from "@/lib/types"; +const defaultLogo = "/default-logo.png"; // Fallback logo path + const CategoryView = () => { const [categories, setCategories] = useState([]); const [selectedCategory, setSelectedCategory] = useState(null); @@ -76,16 +78,16 @@ const CategoryView = () => { {category.scripts && category.scripts.slice(0, 4).map((script, index) => ( {script.name} ))}

{category.name}

- {category.description && ( -

{category.description}

- )} +

+ {category.description || "No description available."} +

))}