From 440ac3d3d34a991940cb9a7bdc95a10531913069 Mon Sep 17 00:00:00 2001 From: osmait Date: Wed, 1 Nov 2023 20:39:52 -0400 Subject: [PATCH] add array deps --- FrontendRedSocial/red-social/app/components/card-post.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FrontendRedSocial/red-social/app/components/card-post.tsx b/FrontendRedSocial/red-social/app/components/card-post.tsx index 79ec83e..0db0b6e 100644 --- a/FrontendRedSocial/red-social/app/components/card-post.tsx +++ b/FrontendRedSocial/red-social/app/components/card-post.tsx @@ -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 (