refactor: update generic dialog to have title and maybe description

This commit is contained in:
Caio Cabral committed 2024-10-22 11:38:54 -04:00
1 parent 4fd11fbd1c
commit f1d331cdf8
5 files changed
+44 -79

No files matched your search

@@ -387,19 +387,11 @@ const ProfilePanel = () => {
/>
<GenericDialog
title={"modal-update-picture"}
description={"update-profile-picture"}
title={"Upload Image"}
open={isModalOpen("picture")}
onClose={closePictureModal}
theme={theme}
>
<Typography
id="modal-update-picture"
component="h1"
color={theme.palette.text.secondary}
>
Upload Image
</Typography>
<ImageField
id="update-profile-picture"
src={