Skip to content

Commit

Permalink
fix:게시판 댓글 프로필 이미지 안보이던 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed May 31, 2022
1 parent 8fd63a7 commit d22805d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/page/Board/Components/Comments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ const Comments = ({
className=" flex dark:border-darkComponent"
>
{/*console.log(comment)*/}
<div className="border-4 w-[5em] h-[5em] mr-4 mt-2 rounded-full items-center shadow-lg flex-shrink-0 text-divisionGray hidden sm:flex dark:border-gray-500 dark:text-gray-500">
{comment.writerThumbnailId ? (
<div className="border w-[5em] h-[5em] mr-4 my-1 mt-2 rounded-full items-center shadow-md flex-shrink-0 text-divisionGray hidden sm:flex dark:border-gray-500 dark:text-gray-500">
{comment.writerThumbnailPath ? (
<img
src={comment.writerThumbnailPath}
className="rounded-full"
Expand Down Expand Up @@ -362,11 +362,11 @@ const Comments = ({
name="대댓글"
className="border-b border-slate-200 px-2 py-1 flex w-full bg-slate-50 rounded-lg dark:bg-darkComponent dark:border-darkComponent"
>
<div className="border-4 w-[3em] h-[3em] mr-2 rounded-full items-center shadow-lg flex-shrink-0 text-divisionGray hidden sm:flex dark:border-gray-500 dark:text-gray-500">
{comment.writerThumbnailId ? (
<div className="border w-[3em] h-[3em] mr-2 rounded-full items-center shadow-md flex-shrink-0 text-divisionGray hidden sm:flex dark:border-gray-500 dark:text-gray-500">
{comment.writerThumbnailPath ? (
<img
src={comment.writerThumbnailPath}
className="round-full"
className="rounded-full"
/>
) : (
<UserCircleIcon className="inline-block" />
Expand Down

0 comments on commit d22805d

Please sign in to comment.