Skip to content

Commit

Permalink
fix(ui): fix create app panel reappear after closed (#19717) (#20507)
Browse files Browse the repository at this point in the history
Signed-off-by: henry.liu <henry.liu@daocloud.io>
Co-authored-by: Henry Liu <henry.liu@daocloud.io>
  • Loading branch information
gcp-cherry-pick-bot[bot] and lsq645599166 authored Oct 23, 2024
1 parent 32ef2e5 commit a41f868
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ export const ApplicationCreatePanel = (props: {
} else {
setDestFormat('URL');
}
}, []);

return () => {
debouncedOnAppChanged.cancel();
};
}, [debouncedOnAppChanged]);

function normalizeTypeFields(formApi: FormApi, type: models.AppSourceType) {
const appToNormalize = formApi.getFormState().values;
Expand Down

0 comments on commit a41f868

Please sign in to comment.