summaryrefslogtreecommitdiff
path: root/client/src/pages/Update/Agreement/Agreement.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/pages/Update/Agreement/Agreement.jsx')
-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({