diff options
author | rohan09-raj <rajrohan1914@gmail.com> | 2022-08-26 17:29:57 +0530 |
---|---|---|
committer | rohan09-raj <rajrohan1914@gmail.com> | 2022-08-26 17:29:57 +0530 |
commit | bec39b9a080bb9356b78a55ca117b4d7663973af (patch) | |
tree | a2ff6b63ec89607f17d161adf22af6aec73c7202 /client | |
parent | bf6f667743007df8cef61d4825f360739546bd2a (diff) |
minor fixes
Diffstat (limited to 'client')
-rw-r--r-- | client/src/pages/Update/Agreement/Agreement.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/pages/Update/Agreement/Agreement.jsx b/client/src/pages/Update/Agreement/Agreement.jsx index 8de9738..ac7a644 100644 --- a/client/src/pages/Update/Agreement/Agreement.jsx +++ b/client/src/pages/Update/Agreement/Agreement.jsx @@ -28,7 +28,12 @@ const Agreement = () => { const { userData } = userContext() const updateUse = useMutation( - () => updateUser(userData._id, { ...userData, isUpdating: true }), + () => + updateUser(userData._id, { + ...userData, + isUpdating: true, + verified: false + }), { onSuccess: () => { setConfirm.mutate({ |