Skip to content

Commit

Permalink
chore: Update query key in ProfileForm component
Browse files Browse the repository at this point in the history
  • Loading branch information
akinfelami committed May 6, 2024
1 parent 1d8962d commit 29d2d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/organisms/ProfileForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const ProfileForm = ({ userDetails }: ProfileFormProps) => {
});
},
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ["preferences"] });
queryClient.invalidateQueries({ queryKey: ["profile"] });
},
retry: false,
});
Expand Down

0 comments on commit 29d2d4d

Please sign in to comment.