@@ -37,7 +37,7 @@ const AdminList: FC = () => {
|
||||
<Button className="w-fit px-6">
|
||||
<div className="flex gap-1.5">
|
||||
<AddSquare size={18} color="black" />
|
||||
<div className="text-[13px] font-light">ادمین جدید</div>
|
||||
<div className="text-[13px] font-light">کاربر جدید</div>
|
||||
</div>
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
@@ -22,7 +22,7 @@ export type WeeklyOrdersPoint = {
|
||||
};
|
||||
|
||||
export const getDashboardCounts = async (): Promise<BaseResponse<DashboardCountsType>> => {
|
||||
const { data } = await axios.get<BaseResponse<DashboardCountsType>>('/admin/dashboard/counts');
|
||||
const { data } = await axios.get<BaseResponse<DashboardCountsType>>('/admin/menu/counts');
|
||||
return data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user