PostShow completed #3

This commit is contained in:
2025-01-28 09:28:56 +01:00
parent 261d957dbd
commit 4d43c53035
5 changed files with 78 additions and 4 deletions
+8 -4
View File
@@ -14,6 +14,10 @@ import {CommentEdit} from "./Components/CommentEdit.tsx";
import {AlbumEdit} from "./Components/AlbumEdit.tsx";
import {PhotoEdit} from "./Components/PhotoEdit.tsx";
import {MyLayout} from "./Components/MyLayout.tsx";
import {UserShow} from "./Components/UserShow.tsx";
import {CommentShow} from "./Components/CommentShow.tsx";
import {PostShow} from "./Components/PostShow.tsx";
import {PostList} from "./Components/PostList.tsx";
export const App = () => (
<Admin layout={MyLayout} dataProvider={dataProvider}>
@@ -21,19 +25,19 @@ export const App = () => (
name="users"
list={UserList}
edit={UserEdit}
show={ShowGuesser}
show={UserShow}
/>
<Resource
name="posts"
list={ListGuesser}
list={PostList}
edit={PostEdit}
show={ShowGuesser}
show={PostShow}
/>
<Resource
name="comments"
list={ListGuesser}
edit={CommentEdit}
show={ShowGuesser}
show={CommentShow}
/>
<Resource
name="albums"