From 808d5d29e593774e7002a989699d9abdb4294aed Mon Sep 17 00:00:00 2001
From: Jungu Lee <1zzangjun@gmail.com>
Date: Sun, 19 Nov 2023 20:42:20 +0900
Subject: [PATCH 1/9] =?UTF-8?q?New=20:=20=ED=8C=94=EB=A1=9C=EC=9E=89=20?=
=?UTF-8?q?=ED=95=98=EA=B3=A0=EC=9E=88=EB=8A=94=20=EC=9C=A0=EC=A0=80?=
=?UTF-8?q?=EC=9D=98=20=EC=88=98=20=ED=91=9C=EC=8B=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
client/src/components/user/info/UserInfoCard.tsx | 5 ++++-
client/src/types/auth/myInfo.ts | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/client/src/components/user/info/UserInfoCard.tsx b/client/src/components/user/info/UserInfoCard.tsx
index 21b951d..a247a11 100644
--- a/client/src/components/user/info/UserInfoCard.tsx
+++ b/client/src/components/user/info/UserInfoCard.tsx
@@ -4,7 +4,7 @@ import UserAvatar from "@/components/user/info/UserAvatar";
import { Box, Button, Typography } from "@mui/material";
type Props = {
- data: MyInfoInterface & { isFollowing: boolean };
+ data: MyInfoInterface;
};
const UserInfo = ({ data }: Props) => {
@@ -12,6 +12,7 @@ const UserInfo = ({ data }: Props) => {
const {
id,
followerCount,
+ followingCount,
nickname,
profileImages,
isFollowing,
@@ -38,6 +39,8 @@ const UserInfo = ({ data }: Props) => {
{followerCount}
팔로워
+ {followingCount}
+ 팔로잉
{isFollowing ? (