modify disable app modal
This commit is contained in:
parent
1c153ac5ad
commit
08094e233c
12 changed files with 153 additions and 35 deletions
|
|
@ -22,6 +22,10 @@ export const AppInstallModal = ({ open, onClose, appSlug }: AppInstallModalProps
|
|||
if (appSlug) {
|
||||
loadApp(appSlug);
|
||||
}
|
||||
|
||||
return () => {
|
||||
reset(initialAppForm);
|
||||
};
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [appSlug, open]);
|
||||
|
||||
|
|
|
|||
Reference in a new issue