diff --git a/src/components/FamilyAcc/FamilyTable.jsx b/src/components/FamilyAcc/FamilyTable.jsx index c9b17a1..8888c3e 100644 --- a/src/components/FamilyAcc/FamilyTable.jsx +++ b/src/components/FamilyAcc/FamilyTable.jsx @@ -19,7 +19,7 @@ export default function FamilyTable({ familyList, loader, popUpHandler, - imageServer + imageServer, }) { const navigate = useNavigate(); const [currentPage, setCurrentPage] = useState(0); @@ -56,14 +56,18 @@ export default function FamilyTable({ enable_traking, profile_picture, imageServer, - username + username, }) => { // Check for valid dates const addedDate = added ? added.split(" ")[0] : "N/A"; const loginDate = last_login ? formatDateString(last_login) : "N/A"; const key = `family-${family_uid}`; // Assign a unique key - const image = localStorage.getItem('session_token') ? `${imageServer}${localStorage.getItem('session_token')}/family/${family_uid}` : '' - + const image = localStorage.getItem("session_token") + ? `${imageServer}${localStorage.getItem( + "session_token" + )}/family/${family_uid}` + : ""; + const trackingStatus = enable_traking === "0" ? "Stopped" @@ -81,14 +85,19 @@ export default function FamilyTable({