This commit is contained in:
Sibunnayak 2024-10-18 17:10:35 +05:30
parent 7bba1cdc22
commit 957cfd5fd9
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ const Dashboard = () => {
},
});
// console.log(res.data)
setUsers(res.data.users);
setUsers(res.data?.total_data);
};
const getAllsalescoordinator = async () => {
let res = await axios.get(`/api/salescoordinator/getAll/`, {

View File

@ -142,7 +142,7 @@ const WidgetsDropdown = ({
<CWidgetStatsA
className="mb-4"
color="primary"
value={<>{users.length}</>}
value={<>{users}</>}
title="Total Principal Distributor"
/>
</CCol>