Skip to content

Commit

Permalink
Merge pull request #824 from MAIF/fix/userEditing
Browse files Browse the repository at this point in the history
fix #823 : refresh user table after editing a user
  • Loading branch information
ptitFicus authored May 30, 2024
2 parents 8bb0a6f + 9ef0930 commit a8d1646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions izanami-frontend/src/pages/users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export function Users() {
},
{
onSuccess: (_, { username }) => {
queryClient.invalidateQueries(MutationNames.USERS);
queryClient.invalidateQueries(userQueryKey(username));
},
}
Expand Down

0 comments on commit a8d1646

Please sign in to comment.