From 12e792fe686cc4bc22b7b3f1ba6cf2cb8a68049b Mon Sep 17 00:00:00 2001 From: Taeeun Kim Date: Fri, 19 Apr 2024 20:17:45 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=BF=80=EC=A1=B0=ED=95=A9=20=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=20=EB=B2=84=ED=8A=BC=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 꿀조합 등록 버튼 스타일 수정 * refactor: MemberImage 컴포넌트로 교체 * feat: 좋아요 버튼 텍스트 사이 간격 추가 --- .../Recipe/CommentForm/CommentForm.tsx | 20 +++++-------------- .../Recipe/CommentForm/commentForm.css.ts | 14 ++++++++----- .../recipeFavoriteButton.css.ts | 1 + 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/src/components/Recipe/CommentForm/CommentForm.tsx b/src/components/Recipe/CommentForm/CommentForm.tsx index b162150c..c0dcf52c 100644 --- a/src/components/Recipe/CommentForm/CommentForm.tsx +++ b/src/components/Recipe/CommentForm/CommentForm.tsx @@ -2,9 +2,10 @@ import { useToastActionContext } from '@fun-eat/design-system'; import type { ChangeEventHandler, FormEventHandler, RefObject } from 'react'; import { useRef, useState } from 'react'; -import { commentForm, commentTextarea, container, profileImage, sendButton } from './commentForm.css'; +import { commentForm, commentTextarea, container, sendButton } from './commentForm.css'; import { SvgIcon, Text } from '@/components/Common'; +import { MemberImage } from '@/components/Members'; import { useScroll } from '@/hooks/common'; import { useMemberQuery } from '@/hooks/queries/members'; import { useRecipeCommentMutation } from '@/hooks/queries/recipe'; @@ -66,13 +67,7 @@ const CommentForm = ({ recipeId, scrollTargetRef }: CommentFormProps) => { return (
- {`${member?.nickname}의 + <>