diff --git a/apps/web/src/app/community/[boardCode]/[postId]/modify/PostModifyForm.tsx b/apps/web/src/app/community/[boardCode]/[postId]/modify/PostModifyForm.tsx index 3f25b9c9..d9897b7e 100644 --- a/apps/web/src/app/community/[boardCode]/[postId]/modify/PostModifyForm.tsx +++ b/apps/web/src/app/community/[boardCode]/[postId]/modify/PostModifyForm.tsx @@ -93,8 +93,9 @@ const PostModifyForm = ({ ); }; - const notice = - "글 작성 시 유의사항\n\n인종, 성별, 출신, 지역, 이념 관련 차별 관련 발언 및 타인에게 불쾌감을 유발할 수 있는 글은 삭제될 수 있습니다.\n\n솔리드 커넥션은 홍보 행위를 철저히 금지합니다."; + const noticeTitle = "[글 작성 시 유의사항]"; + const noticeContent = + "인종, 성별, 출신, 지역, 이념 관련 차별 관련 발언 및 타인에게 불쾌감을 유발할 수 있는 글은 삭제될 수 있습니다.\n\n솔리드 커넥션은 홍보 행위를 철저히 금지합니다."; return ( <> @@ -147,10 +148,10 @@ const PostModifyForm = ({ onChange={(e) => setContent(e.target.value)} /> -
") }} - /> +
+

{noticeTitle}

+

{noticeContent}

+
); diff --git a/apps/web/src/app/community/[boardCode]/create/PostForm.tsx b/apps/web/src/app/community/[boardCode]/create/PostForm.tsx index e147a3bc..1e45a8a2 100644 --- a/apps/web/src/app/community/[boardCode]/create/PostForm.tsx +++ b/apps/web/src/app/community/[boardCode]/create/PostForm.tsx @@ -63,8 +63,9 @@ const PostForm = ({ boardCode }: PostFormProps) => { ); }; - const notice = - "글 작성 시 유의사항\n\n인종, 성별, 출신, 지역, 이념 관련 차별 관련 발언 및 타인에게 불쾌감을 유발할 수 있는 글은 삭제될 수 있습니다.\n\n솔리드 커넥션은 홍보 행위를 철저히 금지합니다."; + const noticeTitle = "[글 작성 시 유의사항]"; + const noticeContent = + "인종, 성별, 출신, 지역, 이념 관련 차별 관련 발언 및 타인에게 불쾌감을 유발할 수 있는 글은 삭제될 수 있습니다.\n\n솔리드 커넥션은 홍보 행위를 철저히 금지합니다."; return ( <> @@ -126,10 +127,10 @@ const PostForm = ({ boardCode }: PostFormProps) => { onChange={(e) => setContent(e.target.value)} /> -
") }} - /> +
+

{noticeTitle}

+

{noticeContent}

+
); diff --git a/apps/web/src/app/login/apple/callback/AppleLoginCallbackPage.tsx b/apps/web/src/app/login/apple/callback/AppleLoginCallbackPage.tsx index 6ca59d94..6146d664 100644 --- a/apps/web/src/app/login/apple/callback/AppleLoginCallbackPage.tsx +++ b/apps/web/src/app/login/apple/callback/AppleLoginCallbackPage.tsx @@ -5,15 +5,19 @@ import { useEffect } from "react"; import { usePostAppleAuth } from "@/apis/Auth"; import CloudSpinnerPage from "@/components/ui/CloudSpinnerPage"; +const attemptedAppleAuthCodes = new Set(); + const AppleLoginCallbackPage = () => { const searchParams = useSearchParams(); const { mutate: postAppleAuth } = usePostAppleAuth(); useEffect(() => { const code = searchParams?.get("code"); - if (code) { - postAppleAuth({ code }); - } + + if (!code || attemptedAppleAuthCodes.has(code)) return; + + attemptedAppleAuthCodes.add(code); + postAppleAuth({ code }); }, [searchParams, postAppleAuth]); return ; diff --git a/apps/web/src/app/mentor/[id]/_ui/MentorDetialContent/index.tsx b/apps/web/src/app/mentor/[id]/_ui/MentorDetialContent/index.tsx index 2d467521..10065e32 100644 --- a/apps/web/src/app/mentor/[id]/_ui/MentorDetialContent/index.tsx +++ b/apps/web/src/app/mentor/[id]/_ui/MentorDetialContent/index.tsx @@ -72,7 +72,7 @@ const MentorDetialContent = ({ mentorId }: MentorDetailContentProps) => {

{introduction}

{/* 멘토 채널 */} -

멘토 한마디

+

멘토 채널

{

{nickname}님은

현재{" "} - + {profileData.role === UserRole.ADMIN ? "어드민" : isMentor ? "멘토" : "멘티"} {" "} 솔커예요. diff --git a/apps/web/src/components/ui/LinkedTextWithIcon/index.tsx b/apps/web/src/components/ui/LinkedTextWithIcon/index.tsx index 5b8ebccf..9c3caf9a 100644 --- a/apps/web/src/components/ui/LinkedTextWithIcon/index.tsx +++ b/apps/web/src/components/ui/LinkedTextWithIcon/index.tsx @@ -58,11 +58,11 @@ const Content = ({ icon, text, subText, textColor = "text-k-700" }: ContentProps {/* 왼쪽 아이콘 + 텍스트 */}

{icon ? ( -
- {icon} +
+ {icon}
) : ( -
+
)} {text}
@@ -70,7 +70,7 @@ const Content = ({ icon, text, subText, textColor = "text-k-700" }: ContentProps {/* 오른쪽 subText + 아이콘 */}
{subText && {subText}} - +