From a7f243fe651eeb4353348695926e4ada9b4426b4 Mon Sep 17 00:00:00 2001 From: Nastya Date: Fri, 19 May 2023 15:20:33 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81=D0=AE?= =?UTF-8?q?=D0=B7=D0=B5=D1=80=D1=81=20=D0=BF=D1=80=D0=B8=D0=BD=D1=8F=D0=BB?= =?UTF-8?q?=20=D1=82=D0=B8=D0=BF=20any=20=D0=B8=20=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D1=89=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=BA=20users=20=D0=B2?= =?UTF-8?q?=20props=20=D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/dashboard/Content/ServiceUsersDG.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/dashboard/Content/ServiceUsersDG.tsx b/src/pages/dashboard/Content/ServiceUsersDG.tsx index e585c7b..ad21e68 100644 --- a/src/pages/dashboard/Content/ServiceUsersDG.tsx +++ b/src/pages/dashboard/Content/ServiceUsersDG.tsx @@ -15,15 +15,15 @@ const columns: GridColDef[] = [ interface Props { handleSelectionChange: (selectionModel: GridSelectionModel) => void; - users: UsersType | undefined; + users: any } export default function ServiceUsersDG({ handleSelectionChange, users }: Props) { if (!users) { return Loading...; } - - const gridData = users.map((user) => ({ +console.log(users) + const gridData = users.users.map((user:any) => ({ login: user.login, email: user.email, phoneNumber: user.phoneNumber,