From 0520056e431f4376a882333584337c6fdae9054d Mon Sep 17 00:00:00 2001 From: Anik Ghosh Date: Sun, 30 Jan 2022 10:56:56 +0530 Subject: [PATCH] sync with main branch --- dashboard/src/components/EditUserModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/EditUserModal.tsx b/dashboard/src/components/EditUserModal.tsx index 96494f9..d787898 100644 --- a/dashboard/src/components/EditUserModal.tsx +++ b/dashboard/src/components/EditUserModal.tsx @@ -85,7 +85,7 @@ const EditUserModal = ({ {} ); const res = await client - .mutation(UpdateUser, { params: updatedUserData }) + .mutation(UpdateUser, { params: { ...updatedUserData, id: userData.id } }) .toPromise(); if (res.error) { toast({