Skip to content

Commit

Permalink
Merge pull request #236 from official-Trippy/feature/#127
Browse files Browse the repository at this point in the history
feat: 댓글 및 답글 수정
  • Loading branch information
kimkimjunjun authored Oct 15, 2024
2 parents c2688cb + 0e22b1b commit 7392c43
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/app/board/[boardId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ export default function BoardPage({ params }: { params: { boardId: number } }) {
</span>
</div>
<input
className="w-full outline-none ml-[4.5rem] text-[1.4rem] font-normal"
className="w-[80%] ml-[4.5rem] text-[1.4rem] font-normal"
type="text"
value={comment}
onChange={(e) => setComment(e.target.value)}
Expand Down Expand Up @@ -994,11 +994,11 @@ export default function BoardPage({ params }: { params: { boardId: number } }) {
<button
className="ml-auto hover:bg-[#292929] hover:text-white bg-[#FB3463] text-white rounded-[0.8rem] text-[1.6rem] font-semibold w-[6.6rem] h-[2.5rem] flex mr-[1.4rem] items-center justify-center"
onClick={() => {
commentReplyHandler(
replymemId,
replyNickname,
replyId
);
// commentReplyHandler(
// replymemId,
// replyNickname,
// replyId
// );
commentEditHandler(coData.id);
}}
>
Expand All @@ -1007,11 +1007,11 @@ export default function BoardPage({ params }: { params: { boardId: number } }) {
<button
className="hover:bg-[#292929] hover:text-white bg-[#9D9D9D] text-white rounded-[0.8rem] text-[1.6rem] font-semibold w-[6.6rem] h-[2.5rem] flex mr-[1.4rem] items-center justify-center"
onClick={() => {
commentReplyHandler(
replymemId,
replyNickname,
replyId
);
// commentReplyHandler(
// replymemId,
// replyNickname,
// replyId
// );
handleEditContent(
coData.id,
coData.content
Expand Down Expand Up @@ -1070,7 +1070,7 @@ export default function BoardPage({ params }: { params: { boardId: number } }) {
</div>
<div className="relative">
<input
className="w-[70%] outline-none ml-[2.5rem] text-[1.4rem] font-normal pl-[1.5rem]"
className="w-[80%] ml-[4rem] text-[1.4rem] font-normal"
type="text"
placeholder={`${coData.member.nickName}에게 답글쓰기`}
value={replyComment}
Expand Down

0 comments on commit 7392c43

Please sign in to comment.