Skip to content

Commit c4efe36

Browse files
authored
Merge pull request #127 from codeit-maso/feature/jeon
🐛 fix: 파란 삼각형
2 parents 5dd4dca + 59a18c3 commit c4efe36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/RecipientCard/RecipientCard.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ export default function RecipientCard({ Recipient }) {
5454
onMouseMove={handleMove}
5555
onTouchMove={handleMove}
5656
>
57-
{backgroundColor === 'blue' && <div className={styles.triangle} />}
57+
{!backgroundImageURL && backgroundColor === 'blue' && (
58+
<div className={styles.triangle} />
59+
)}
5860
<h3
5961
className={`${styles['card__h3']} ${backgroundImageURL ? styles.white : ''}`}
6062
>

0 commit comments

Comments
 (0)