From f2a7d1106836498ae208411b2102d0dbbccd84a0 Mon Sep 17 00:00:00 2001 From: "han.j33" Date: Fri, 20 Dec 2024 11:19:52 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=F0=9F=93=9D=20=EB=B0=98=EC=9D=91=ED=98=95?= =?UTF-8?q?=20=EC=9E=91=EC=97=85=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EB=A7=88?= =?UTF-8?q?=ED=81=AC=EC=97=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/write/WritePost.jsx | 90 ++++++++++++++++-------------- 1 file changed, 47 insertions(+), 43 deletions(-) diff --git a/src/components/write/WritePost.jsx b/src/components/write/WritePost.jsx index a7624a36..11a1b066 100644 --- a/src/components/write/WritePost.jsx +++ b/src/components/write/WritePost.jsx @@ -26,6 +26,8 @@ export default function WritePost({ isWriteModalOpen, closeWriteModal }) { const profileImageUrl = user?.profileImageUrl || "/images/rabbit.svg"; const userId = user?.userId; const userName = user?.userName; + // const userIdLength = user?.userId?.length || 0; + // const userNameLength = user?.userName?.length || 0; // 해시태그/기분 클릭 목록 const [selectedGenres, setSelectedGenres] = useState([]); @@ -329,7 +331,7 @@ export default function WritePost({ isWriteModalOpen, closeWriteModal }) { alt={`${userName}님의 프로필 사진`} />

- {userName} + {userName} @{userId}

@@ -349,7 +351,7 @@ export default function WritePost({ isWriteModalOpen, closeWriteModal }) { className={styles["title-input"]} htmlFor="title" > - Title + 제목 -