small refactor

This commit is contained in:
Davor 2022-08-06 13:04:22 +02:00
parent ac47970cac
commit 4281dd9082
2 changed files with 40 additions and 44 deletions

View file

@ -63,7 +63,6 @@ export const AppInstallModal = ({ open, onClose, appSlug }: AppInstallModalProps
}; };
return ( return (
<>
<Modal onClose={handleClose} open={open} onSave={handleSave} isLoading={appLoading} useCancelButton> <Modal onClose={handleClose} open={open} onSave={handleSave} isLoading={appLoading} useCancelButton>
<div className="bg-white px-4"> <div className="bg-white px-4">
<div className="space-y-10 divide-y divide-gray-200"> <div className="space-y-10 divide-y divide-gray-200">
@ -87,6 +86,5 @@ export const AppInstallModal = ({ open, onClose, appSlug }: AppInstallModalProps
</div> </div>
</div> </div>
</Modal> </Modal>
</>
); );
}; };

View file

@ -29,7 +29,6 @@ export const GeneralTab = () => {
}; };
return ( return (
<>
<form onSubmit={handleSubmit(onSubmit)}> <form onSubmit={handleSubmit(onSubmit)}>
<div className="py-4"> <div className="py-4">
<div className="md:grid md:grid-cols-3 md:gap-6"> <div className="md:grid md:grid-cols-3 md:gap-6">
@ -56,6 +55,5 @@ export const GeneralTab = () => {
</div> </div>
</div> </div>
</form> </form>
</>
); );
}; };