PostShow completed #3
This commit is contained in:
+8
-4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user