diff --git a/client/src/components/activitypage/ActivityPage.jsx b/client/src/components/activitypage/ActivityPage.jsx
index 398a9204..9d4a6e0a 100644
--- a/client/src/components/activitypage/ActivityPage.jsx
+++ b/client/src/components/activitypage/ActivityPage.jsx
@@ -1,21 +1,32 @@
import PageTitle from "../common/PageTitle";
-import ActivityCard from "../common/ActivityCard";
+import ActivityCard from "../common/activityCard";
import Button from "../common/Button";
import "./ActivityPage.scss";
+import { useGetAllActivitiesQuery } from "../../redux/slices/activitiesApiSlice";
const ActivityPage = () => {
+ const { data: activityList, isFetching: isFetchingActivity } =
+ useGetAllActivitiesQuery();
+
+ if (!isFetchingActivity) {
+ console.log("activities = ", activityList);
+ }
return (
-
{title}
-
{"المكان: " + place}
-
{"الميعاد : " + time}
+
{activityTypesList[activity.type]}
+
{"المكان: " + activity.place}
+
{"اليوم : " + days[activity.day]}