wizard: avoid a no-op
This removes a warning on a no-op being fired when the wizard changes a state when the request for creation comes back as a success. Instead don't update the form state if the wizard is going to be closed anyway.
This commit is contained in:
parent
e8380c12b9
commit
b8c136dccb
1 changed files with 0 additions and 2 deletions
|
|
@ -567,8 +567,6 @@ const CreateImageWizard = () => {
|
|||
title: 'Your image is being created',
|
||||
})
|
||||
);
|
||||
|
||||
setIsSaving(false);
|
||||
})
|
||||
.catch((err) => {
|
||||
let msg = err.response.statusText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue