diff --git a/features/profile-recommend/components/molecules/recommended-profile-card.tsx b/features/profile-recommend/components/molecules/recommended-profile-card.tsx
index 775351c9..164076cd 100644
--- a/features/profile-recommend/components/molecules/recommended-profile-card.tsx
+++ b/features/profile-recommend/components/molecules/recommended-profile-card.tsx
@@ -51,27 +51,14 @@ export function RecommendedProfileCard({
{!isMyProfile && (
- <>
- {isFollowing ? (
-
- ) : (
-
- )}
- >
+
)}
diff --git a/features/profile-recommend/components/molecules/recommended-profile-item.tsx b/features/profile-recommend/components/molecules/recommended-profile-item.tsx
index e8da4c1a..25d8f0c5 100644
--- a/features/profile-recommend/components/molecules/recommended-profile-item.tsx
+++ b/features/profile-recommend/components/molecules/recommended-profile-item.tsx
@@ -12,11 +12,7 @@ export function RecommendedProfileItem({
const { data: myData } = useCurrentMemberInfo();
const { data: profileData } = useProfileData(memberId);
- const getIsMyProfile = (memberId: number) => {
- if (!myData?.data) return false;
- const myMemberId = myData?.data.id;
- return myMemberId === memberId;
- };
+ const getIsMyProfile = myData?.data?.id === memberId;
if (!profileData) return null;
return (
@@ -25,7 +21,7 @@ export function RecommendedProfileItem({
nickname={profileData?.nickname}
introduction={profileData?.introduction}
profileImageUrl={profileData.profileImageUrl}
- isMyProfile={getIsMyProfile(memberId)}
+ isMyProfile={getIsMyProfile}
/>
);
}