Skip to content

Commit

Permalink
fix: dom 중첩 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sumi-0011 committed Feb 8, 2024
1 parent dae2ca9 commit b41984b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ListItem/ProfileListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ function ProfileListItem(props: Props) {
return (
<li className={containerCss}>
<Thumbnail size="h36" variant="filled" url={props.thumbnailUrl} />
<p className={cx(nameCss, oneLineTextCss, isExistFollowerButton && existFollowerButtonCss)}>
<div className={cx(nameCss, oneLineTextCss, isExistFollowerButton && existFollowerButtonCss)}>
{props.name}
{props.subElement && (
<div className={followLabelCss} onClick={(e) => e.preventDefault()}>
{props.subElement}
</div>
)}
</p>
</div>
<div
className={buttonCss}
onClick={(e) => {
Expand Down

0 comments on commit b41984b

Please sign in to comment.