mirror of
https://github.com/hexastack/hexabot
synced 2024-11-28 06:52:20 +00:00
fix(frontend): remove unused ContentTypeDialog component
This commit is contained in:
parent
b3426e3f50
commit
f40c39c554
@ -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={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user