diff --git a/app/list/[id]/page.tsx b/app/list/[id]/page.tsx index 73020cd..969d03d 100644 --- a/app/list/[id]/page.tsx +++ b/app/list/[id]/page.tsx @@ -6,7 +6,7 @@ import { notFound } from 'next/navigation' import Link from 'next/link' import { ArrowLeft } from 'lucide-react' import InlineItemCreate from '@/components/InlineItemCreate' -import ListDetailView from '@/components/ListDetailView' +import ListDetailView from '@/components/ClientListDetailView' export const dynamic = 'force-dynamic' export const revalidate = 0 diff --git a/components/ClientListDetailView.tsx b/components/ClientListDetailView.tsx new file mode 100644 index 0000000..11a4dce --- /dev/null +++ b/components/ClientListDetailView.tsx @@ -0,0 +1,18 @@ +'use client' + +import dynamic from 'next/dynamic' + +const ListDetailView = dynamic(() => import('./ListDetailView'), { + ssr: false, + loading: () =>