Skip to content

Commit

Permalink
fix(restart-dialog): put correct status "restarting" on mutate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Nov 21, 2024
1 parent a679fe8 commit ef9d815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const RestartDialog: React.FC<IProps> = ({ info, isOpen, onClose }) => {
toast.error(t(e.message, e.intlParams));
},
onMutate: () => {
setOptimisticStatus('installing', info.id);
setOptimisticStatus('restarting', info.id);
onClose();
},
});
Expand Down

0 comments on commit ef9d815

Please sign in to comment.