From bb05100c68d44227c0285f68e8ad8a79ea5da5da Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 9 May 2023 19:55:20 -0400 Subject: [PATCH] Fix menu --- src/components/FamilyAcc/index.jsx | 6 +- src/components/Partials/RightSideBar.jsx | 125 +---------------------- src/components/Partials/Sidebar.jsx | 16 ++- 3 files changed, 16 insertions(+), 131 deletions(-) diff --git a/src/components/FamilyAcc/index.jsx b/src/components/FamilyAcc/index.jsx index fb7ae77..5cfa8bb 100644 --- a/src/components/FamilyAcc/index.jsx +++ b/src/components/FamilyAcc/index.jsx @@ -26,8 +26,8 @@ export default function FamilyAcc() { let id = useId(); // For the age drop down - let startAge = 16; - let endAge = 70; + let startAge = 5; + let endAge = 16; // creates an array of age values ranging from 16 to 70 const ageRange = Array.from( { length: endAge - startAge + 1 }, @@ -91,7 +91,7 @@ export default function FamilyAcc() { uid: localStorage.getItem("uid"), sessionid: localStorage.getItem("session_token"), limit: 20, - offset: 1, + offset: 0, action: 22010, }; diff --git a/src/components/Partials/RightSideBar.jsx b/src/components/Partials/RightSideBar.jsx index e3592da..6f75a81 100644 --- a/src/components/Partials/RightSideBar.jsx +++ b/src/components/Partials/RightSideBar.jsx @@ -201,130 +201,7 @@ export default function RightSideBar() { - - {/*
*/} - {/*
*/} - {/*
*/} - {/*

*/} - {/* Statistics*/} - {/*

*/} - {/* */} - {/*
*/} - {/*
*/} - {/* */} - {/*
*/} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/*
*/} - {/*
*/} - {/*
*/} - {/*
*/} - {/*
*/} - {/*

*/} - {/* Your All Artwork Statistics*/} - {/*

*/} - {/*
*/} - {/*
*/} - {/*
    */} - {/*
  • */} - {/* */} - {/*
    */} - {/* */} - {/* Profit :*/} - {/* */} - {/* */} - {/* /!* don't change variable only change state *!/*/} - {/* {filterDataSet[0]}%*/} - {/* */} - {/*
    */} - {/*
  • */} - {/*
  • */} - {/* */} - {/*
    */} - {/* */} - {/* Total Sold :*/} - {/* */} - {/* */} - {/* /!* don't change variable only change state *!/*/} - {/* {filterDataSet[1]}%*/} - {/* */} - {/*
    */} - {/*
  • */} - {/*
  • */} - {/* */} - {/*
    */} - {/* */} - {/* Total Sold :*/} - {/* */} - {/* */} - {/* /!* don't change variable only change state *!/*/} - {/* {filterDataSet[2]}%*/} - {/* */} - {/*
    */} - {/*
  • */} - {/*
  • */} - {/* */} - {/*
    */} - {/* */} - {/* Total Sold :*/} - {/* */} - {/* */} - {/* /!* don't change variable only change state *!/*/} - {/* {filterDataSet[3]}%*/} - {/* */} - {/*
    */} - {/*
  • */} - {/*
*/} - {/*
*/} - {/*
*/} - {/*
*/} - + ); diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index 4e5e1cc..e229d36 100644 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -220,12 +220,20 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { + {/*
*/} + {/*
*/} + {/* */} + {/* */} + {/* Family Account*/} + {/* */} + {/* */} + {/*
*/} + {/*
*/} +
-
+
- - Family Account - +

Family Corner