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();
|
const router = useRouter();
|
||||||
// Dialog Controls
|
// Dialog Controls
|
||||||
const addDialogCtl = useDialog<IContentType>(false);
|
const addDialogCtl = useDialog<IContentType>(false);
|
||||||
const editDialogCtl = useDialog<IContentType>(false);
|
|
||||||
const deleteDialogCtl = useDialog<string>(false);
|
const deleteDialogCtl = useDialog<string>(false);
|
||||||
const fieldsDialogCtl = useDialog<IContentType>(false);
|
const fieldsDialogCtl = useDialog<IContentType>(false);
|
||||||
// data fetching
|
// data fetching
|
||||||
@ -119,7 +118,6 @@ export const ContentTypes = () => {
|
|||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
<Paper>
|
<Paper>
|
||||||
<ContentTypeDialog {...getDisplayDialogs(addDialogCtl)} />
|
<ContentTypeDialog {...getDisplayDialogs(addDialogCtl)} />
|
||||||
<ContentTypeDialog {...getDisplayDialogs(editDialogCtl)} />
|
|
||||||
<DeleteDialog
|
<DeleteDialog
|
||||||
{...deleteDialogCtl}
|
{...deleteDialogCtl}
|
||||||
callback={() => {
|
callback={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user