summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2022-08-26 17:29:57 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2022-08-26 17:29:57 +0530
commitbec39b9a080bb9356b78a55ca117b4d7663973af (patch)
treea2ff6b63ec89607f17d161adf22af6aec73c7202 /client
parentbf6f667743007df8cef61d4825f360739546bd2a (diff)
minor fixes
Diffstat (limited to 'client')
-rw-r--r--client/src/pages/Update/Agreement/Agreement.jsx7
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({