Skip to content

Commit

Permalink
Merge pull request #1017 from peer-42seoul/964-c-mypage-h-hitch-chang…
Browse files Browse the repository at this point in the history
…e-to-nextImage

[PUBLIC] next/image 폴백이미지 에러시에만 보이도록 수정
  • Loading branch information
SaltySalt77 authored Feb 14, 2024
2 parents e877f97 + 81d53f4 commit 92b54a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/CuPhotoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ const CuPhotoBox = ({
...style,
position: 'relative',
margin: 0,
backgroundColor: '#ffffff',
border: '1px solid',
borderColor: 'line.alternative',
...(error && {
backgroundColor: '#ffffff',
border: '1px solid',
borderColor: 'line.alternative',
}),
}}
>
{src && !error && (
Expand Down

0 comments on commit 92b54a2

Please sign in to comment.