Skip to content

Commit

Permalink
add array deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Osmait committed Nov 2, 2023
1 parent 865510d commit 440ac3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FrontendRedSocial/red-social/app/components/card-post.tsx
Expand Up @@ -28,7 +28,7 @@ export default function CardPost({ post }: Props) {
setUset(profile)
}
getUserPost()
})
}, [])

const imgUrl = user?.img ? user.img : "https://avatars.dicebear.com/v2/male/dec006c73441fcd643d5cc092c35d14c.svg"
return (
Expand Down

0 comments on commit 440ac3d

Please sign in to comment.