renamed TableGen to EntityManagementTable
This commit is contained in:
@@ -9,7 +9,7 @@ import React, {
|
||||
useLayoutEffect,
|
||||
useRef
|
||||
} from "react";
|
||||
import TableGen from "../TableGen";
|
||||
import EntityManagementTable from "../TableGen";
|
||||
import toast from "react-hot-toast";
|
||||
import PostEditor, { EditorProps } from "./PostEditor";
|
||||
import {
|
||||
@@ -169,10 +169,10 @@ export default function PostTable(props: Props) {
|
||||
}
|
||||
|
||||
return <>
|
||||
<TableGen key="der-table" headings={props.headings}>
|
||||
<EntityManagementTable key="der-table" headings={props.headings}>
|
||||
{posts.map((postData: Partial<PostAttributesWithBuckets>) => <TableRow headings={props.headings}
|
||||
postData={postData}
|
||||
key={postData.id}/> )}
|
||||
</TableGen>
|
||||
</EntityManagementTable>
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user