Skip to content

Commit

Permalink
easy
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Feb 21, 2024
1 parent 885af99 commit 8bd6931
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/pages/user/settings/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const UserProfile: React.FC<UserProfileProps> = ({ user, refetch }) => {
try {
await updateUser({
where: { id: user.id },
data: { allergens: { delete: [{ id }] } },
data: { allergens: { disconnect: [{ id }] } },
});
onOpenChange();
refetch();
Expand Down

0 comments on commit 8bd6931

Please sign in to comment.