From f17f77d4092a8ee2431f203c1b92b14a9a11313d Mon Sep 17 00:00:00 2001 From: YasinShaikh123 <123150391+YasinShaikh123@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:47:52 +0530 Subject: [PATCH] Merge branch 'dev' of http://git.wdipl.com/Siddhesh.More/tanami-admin-panel into dev --- src/Components/Doughnut/ApexDonut.jsx | 2 +- src/Components/Doughnut/ApexLine.jsx | 2 +- src/Pages/Dashbaord.jsx | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Components/Doughnut/ApexDonut.jsx b/src/Components/Doughnut/ApexDonut.jsx index 01640d5..a3eb1e6 100644 --- a/src/Components/Doughnut/ApexDonut.jsx +++ b/src/Components/Doughnut/ApexDonut.jsx @@ -25,7 +25,7 @@ const ApexChart = ({ data }) => { fill: { type: 'gradient', }, - colors: data?.backgroundColor, // Customize your colors here + colors: data?.backgroundColor, legend: { show: false, position: 'right', diff --git a/src/Components/Doughnut/ApexLine.jsx b/src/Components/Doughnut/ApexLine.jsx index 5c842e5..8e27e25 100644 --- a/src/Components/Doughnut/ApexLine.jsx +++ b/src/Components/Doughnut/ApexLine.jsx @@ -58,7 +58,7 @@ function ApexLine() { return (
- +
); } diff --git a/src/Pages/Dashbaord.jsx b/src/Pages/Dashbaord.jsx index 135f51d..1ed8b29 100644 --- a/src/Pages/Dashbaord.jsx +++ b/src/Pages/Dashbaord.jsx @@ -98,28 +98,28 @@ const Dashbaord = () => { return ( isIoPreLoading || isIoLoading || isInvestorLoading ? : - + - navigate("/investor-details")} boxShadow={'lg'} color={"#fff"} p={4} rounded={'xl'} w={'25%'} display={'flex'} bg={'#004118'} flexDirection={'column'} alignItems={'start'} > - + navigate("/investor-details")} boxShadow={'lg'} color={"#004118"} p={4} rounded={'xl'} w={'25%'} display={'flex'} bg={'#f5f8f6'} flexDirection={'column'} alignItems={'start'} > + Total Investors {investorDetails?.data?.totalItems} {/* */} - navigate("/view-io")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/view-io")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total IO {IO?.data?.totalItems} - navigate("/sponser")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/sponser")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total sponors {data?.data?.sponsor?.length} - navigate("/investment-type")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/investment-type")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total Investment Type {data?.data?.investmentType?.length}