Skip to content

Commit

Permalink
hotfix : imageUrl 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
keemsebin committed Oct 2, 2024
1 parent cc74ad3 commit 752377b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/report/detail/Report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default function Report({ reportData, term }: Props) {
const { content, imageUrls, participants } = reportData ?? {};

const [data, setData] = useState(reportData);
const showImage =
imageUrls && imageUrls[0] ? parseImgUrl(imageUrls[0]) : UnSubmitImage;

const showImage = imageUrls && imageUrls[0] ? imageUrls[0] : UnSubmitImage;
useEffect(() => {
setData(data);
}, [imageUrls, data]);
Expand Down

0 comments on commit 752377b

Please sign in to comment.