modify disable app modal

This commit is contained in:
Davor 2022-08-01 23:02:11 +02:00
parent 1c153ac5ad
commit 08094e233c
12 changed files with 153 additions and 35 deletions

View file

@ -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]);