diff --git a/src/app/profile/me/group/page.tsx b/src/app/profile/me/group/page.tsx index 540b822d7..cde1a8328 100644 --- a/src/app/profile/me/group/page.tsx +++ b/src/app/profile/me/group/page.tsx @@ -3,6 +3,7 @@ import useMyGroupsQuery from '@/queries/group/useMyGroupQuery'; import { checkAuthentication } from '@/utils/helpers'; +import SSRSafeSuspense from '@/components/SSRSafeSuspense'; import BackButton from '@/v1/base/BackButton'; import TopNavigation from '@/v1/base/TopNavigation'; import DetailBookGroupCard from '@/v1/bookGroup/DetailBookGroupCard'; @@ -16,40 +17,16 @@ const UserGroupPage = () => { 내가 참여한 모임 - + }> + + ); }; const UserGroupContent = () => { const isAuthenticated = checkAuthentication(); - const { data, isSuccess } = useMyGroupsQuery({ enabled: isAuthenticated }); - - if (!isSuccess) { - return ( - - ); - } + const { data } = useMyGroupsQuery({ enabled: isAuthenticated }); return (