diff --git a/src/components/FamilyAcc/FamilyManageTabs.jsx b/src/components/FamilyAcc/FamilyManageTabs.jsx index e14c6fb..5f13fc3 100644 --- a/src/components/FamilyAcc/FamilyManageTabs.jsx +++ b/src/components/FamilyAcc/FamilyManageTabs.jsx @@ -4,7 +4,7 @@ import React, { useMemo, useRef, useState, - forwardRef + forwardRef, } from "react"; import LoadingSpinner from "../Spinners/LoadingSpinner"; import profile from "../../assets/images/profile-info-profile.png"; @@ -83,8 +83,8 @@ export default function FamilyManageTabs({ const accountRef = useRef(); // to handle printing const useHandlePrint = useReactToPrint({ - content: () => accountRef.current, - }); + content: () => accountRef.current, + }); return (
)} {name === "Account" && ( - <> - )} {name === "Profile" && } @@ -263,20 +261,23 @@ const Account = forwardRef(({ familyDetails, myRef, handlePrint }) => {
-
); -}) +}); function Profile() { return <>Profile;