Skip to content

Commit

Permalink
add additional reset
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-cavazzi committed Oct 3, 2024
1 parent 54ea02f commit d640d83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/features/admin/UpdateConnectedServiceButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ function UpdateConnectedServiceModal({
return;
}
toggle();
}, [result.isSuccess, toggle]);
reset();
}, [result.isSuccess, reset, toggle]);

useEffect(() => {
if (!isOpen) {
Expand Down

0 comments on commit d640d83

Please sign in to comment.