diff --git a/web/src/components/Dashboard/DashboardCommunity/CommunityGallery.tsx b/web/src/components/Dashboard/DashboardCommunity/CommunityGallery.tsx index c6ce8db..88c13cf 100644 --- a/web/src/components/Dashboard/DashboardCommunity/CommunityGallery.tsx +++ b/web/src/components/Dashboard/DashboardCommunity/CommunityGallery.tsx @@ -44,7 +44,7 @@ const CommunityGallery = () => { const appUrl = import.meta.env.VITE_APP_URL; const port = import.meta.env.VITE_APP_PORT; axios - .get(`${appUrl}:${port}/api/homepage/gallery`) + .get(`${appUrl}:${port}/api/users`) .then((res) => { setData(res.data); }) diff --git a/web/src/components/Dashboard/DashboardCommunity/CommunityGalleryCard.tsx b/web/src/components/Dashboard/DashboardCommunity/CommunityGalleryCard.tsx index 52882e3..e9545eb 100644 --- a/web/src/components/Dashboard/DashboardCommunity/CommunityGalleryCard.tsx +++ b/web/src/components/Dashboard/DashboardCommunity/CommunityGalleryCard.tsx @@ -36,31 +36,31 @@ const CommunityGalleryCard = ({user}: CommunityGalleryCardProps) => { } return ( -
{user.firstName + " " + user.lastName}
-{user.hours}
-hours
+{user.firstName + " " + user.lastName}
+{user.hours}
+hours
jaquallelina and 12 other mutual friends
+jaquallelina and 12 other mutual friends