diff --git a/src/app/profile/[userId]/page.tsx b/src/app/profile/[userId]/page.tsx index b167df80..e67e5d79 100644 --- a/src/app/profile/[userId]/page.tsx +++ b/src/app/profile/[userId]/page.tsx @@ -1,6 +1,10 @@ 'use client'; -import { APIUser } from '@/types/user'; +import { notFound } from 'next/navigation'; +import { ErrorBoundary } from 'react-error-boundary'; + +import type { APIUser } from '@/types/user'; + import BackButton from '@/components/common/BackButton'; import ShareButton from '@/components/common/ShareButton'; import TopNavigation from '@/components/common/TopNavigation'; @@ -13,7 +17,7 @@ const UserProfilePage = ({ params: { userId: APIUser['userId'] }; }) => { return ( - <> + @@ -26,7 +30,7 @@ const UserProfilePage = ({ - + ); };