diff --git a/src/components/FamilyAcc/FamilyManage.jsx b/src/components/FamilyAcc/FamilyManage.jsx index d8af7c7..1dc08ee 100644 --- a/src/components/FamilyAcc/FamilyManage.jsx +++ b/src/components/FamilyAcc/FamilyManage.jsx @@ -1,6 +1,6 @@ import React, { useState } from "react"; import Layout from "../Partials/Layout"; -import FamilyManageTabs from "./FamilyManageTabs"; +import FamilyManageTabs from "./Tabs/FamilyManageTabs"; import { useLocation } from "react-router-dom"; export default function FamilyManage() { diff --git a/src/components/FamilyAcc/FamilyTasks.jsx b/src/components/FamilyAcc/FamilyTasks.jsx deleted file mode 100644 index 2f246fb..0000000 --- a/src/components/FamilyAcc/FamilyTasks.jsx +++ /dev/null @@ -1,127 +0,0 @@ -import React, { useState } from "react"; -import dataImage1 from "../../assets/images/data-table-user-1.png"; -import dataImage2 from "../../assets/images/data-table-user-2.png"; -import dataImage3 from "../../assets/images/data-table-user-3.png"; -import dataImage4 from "../../assets/images/data-table-user-4.png"; -import SelectBox from "../Helpers/SelectBox"; - -import PaginatedList from "../Pagination/PaginatedList"; -import { handlePagingFunc } from "../Pagination/HandlePagination"; - -export default function FamilyTasks({ className }) { - const filterCategories = ["All Categories", "Explore", "Featured"]; - const [selectedCategory, setCategory] = useState(filterCategories[0]); - - let data = ['1', '2', '3', '4', '5', '6'] // to be replaced later by result from API CALL - - const [currentPage, setCurrentPage] = useState(0); - const indexOfFirstItem = Number(currentPage); - const indexOfLastItem = Number(indexOfFirstItem)+Number(process.env.REACT_APP_ITEM_PER_PAGE); - const currentTask = data.slice(indexOfFirstItem, indexOfLastItem); - - const handlePagination = (e) => { - handlePagingFunc(e,setCurrentPage) - } - - return ( -
| All Product | -Value | -USD | -Status | -
|
-
-
-
-
-
-
- - Mullican Computer Joy -- - Owned by Xoeyam - - |
-
-
-
-
- 7473 ETH
-
-
- |
-
-
-
-
-
-
- 6392.99$
-
-
- |
- - - | -
|
+
+
+
+
+
+
+ + {value.title} ++{value.description}
+
+ Price:{" "}
+
+ {value.price * 0.01}
+
+
+
+ Duration:{" "}
+
+ {" "}
+ {value.timeline_days} day(s)
+
+
+
+ Expire:{" "}
+
+ {" "}
+ {value.expire}
+
+
+
+ Send to:{" "}
+
+ {" "}
+ {value.job_to}
+
+
+ |
+
+ + + | +