diff --git a/apps/hub/src/app/architectures/[id]/page.tsx b/apps/hub/src/app/architectures/[id]/page.tsx index 6c98ca88..ebeaa62d 100644 --- a/apps/hub/src/app/architectures/[id]/page.tsx +++ b/apps/hub/src/app/architectures/[id]/page.tsx @@ -8,7 +8,6 @@ import { StarIcon } from '@/ui/StarIcon'; import { Tag } from '@/ui/Tag'; import { fetcher } from '@/utils/fetcher'; import { useParams } from 'next/navigation'; -import { useState } from 'react'; import useSWR from 'swr'; interface PublicArchitecture { @@ -35,10 +34,7 @@ export default function ArchitectureDetailPage() { ); if (isLoading) return ; - if (error) { - // return
{JSON.stringify(error)}
; - return ; - } + if (error) return ; const { title,