fix(frontend): remove unused ContentTypeDialog component

This commit is contained in:
yassinedorbozgithub 2024-10-03 18:00:52 +01:00
parent b3426e3f50
commit f40c39c554

View File

@ -41,7 +41,6 @@ export const ContentTypes = () => {
const router = useRouter();
// Dialog Controls
const addDialogCtl = useDialog<IContentType>(false);
const editDialogCtl = useDialog<IContentType>(false);
const deleteDialogCtl = useDialog<string>(false);
const fieldsDialogCtl = useDialog<IContentType>(false);
// data fetching
@ -119,7 +118,6 @@ export const ContentTypes = () => {
<Grid item xs={12}>
<Paper>
<ContentTypeDialog {...getDisplayDialogs(addDialogCtl)} />
<ContentTypeDialog {...getDisplayDialogs(editDialogCtl)} />
<DeleteDialog
{...deleteDialogCtl}
callback={() => {