Skip to content

Commit

Permalink
reset settings when navigate to choose-settings-step page
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed May 6, 2020
1 parent 0480641 commit f4b1b5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function AgentConfigurationCreateEdit({
) {
setPage('choose-service-step');
}
}, [existingConfig, isEditMode, newConfig, pageStep]);
}, [isEditMode, newConfig, pageStep]);

const unsavedChanges = getUnsavedChanges({ newConfig, existingConfig });

Expand Down

0 comments on commit f4b1b5b

Please sign in to comment.