Skip to content

Commit

Permalink
fix: re-render fetched liked, bookmarked
Browse files Browse the repository at this point in the history
  • Loading branch information
hynseok committed Feb 10, 2025
1 parent a4fa049 commit a79fed6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function ProjectCardLikeSection({
setIsLike(isLiked);
setIsMark(isMarked);
}, [likes, isLiked, isMarked]);

return (
<CardSection className={classes["like-section"]}>
<Group align="center" justify="space-between" p="8px 16px">
Expand Down
2 changes: 2 additions & 0 deletions src/components/pages/ProjectDetail/ProjectDetailInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export function ProjectDetailInfo({ projectId }: Props) {
fetchProject();
}, [projectId, handleRefresh]);

useEffect(() => {}, [isThumbup, isInterest]);

const fetchImages = (thumbnailId: number, posterId: number) => {
if (thumbnailId) {
getFileUrlById(thumbnailId)
Expand Down

0 comments on commit a79fed6

Please sign in to comment.