Skip to content

Commit

Permalink
corrected setting of setHasChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Sep 15, 2020
1 parent 4f8f113 commit 21a37b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const ConnectorEditFlyout = ({
const closeFlyout = useCallback(() => {
setEditFlyoutVisibility(false);
setConnector('connector', { ...initialConnector, secrets: {} });
hasChanges(false);
setHasChanges(false);
setTestExecutionResult(none);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [setEditFlyoutVisibility]);
Expand Down

0 comments on commit 21a37b6

Please sign in to comment.