renamed TableGen to EntityManagementTable

This commit is contained in:
2024-06-25 08:20:04 +02:00
parent 395234f919
commit 83f1cd3dae
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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>
</>
}