From 96d750fc889c574c1c8b881f3e1be92aa0a1cd86 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 22 Jul 2026 15:20:50 +0330 Subject: [PATCH] fix deploy --- src/pages/users/Update.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/users/Update.tsx b/src/pages/users/Update.tsx index c170e46..1e6dd25 100644 --- a/src/pages/users/Update.tsx +++ b/src/pages/users/Update.tsx @@ -90,7 +90,7 @@ const UpdateUser: FC = () => { profilePic: admin.profilePic, password: '', repeatPassword: '', - roleIds: admin.roles.map((role) => role.id), + roleIds: admin.roles.map((role: RoleItemType) => role.id), }) } // eslint-disable-next-line react-hooks/exhaustive-deps