mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 11:24:21 +03:00
landscape: move transcluded comments to new render
Fixes urbit/landscape#814 Fixes urbit/landscape#813
This commit is contained in:
parent
b78e7583db
commit
7ac71c64a3
@ -4,6 +4,7 @@ import ChatMessage from "../chat/components/ChatMessage";
|
|||||||
import { Association, GraphNode, Post, Group } from "@urbit/api";
|
import { Association, GraphNode, Post, Group } from "@urbit/api";
|
||||||
import { useGroupForAssoc } from "~/logic/state/group";
|
import { useGroupForAssoc } from "~/logic/state/group";
|
||||||
import { MentionText } from "~/views/components/MentionText";
|
import { MentionText } from "~/views/components/MentionText";
|
||||||
|
import { GraphContentWide } from '~/views/landscape/components/Graph/GraphContentWide';
|
||||||
import Author from "~/views/components/Author";
|
import Author from "~/views/components/Author";
|
||||||
import { NoteContent } from "../publish/components/Note";
|
import { NoteContent } from "../publish/components/Note";
|
||||||
import { PostContent } from "~/views/landscape/components/Home/Post/PostContent";
|
import { PostContent } from "~/views/landscape/components/Home/Post/PostContent";
|
||||||
@ -74,11 +75,11 @@ function TranscludedComment(props: {
|
|||||||
group={group}
|
group={group}
|
||||||
/>
|
/>
|
||||||
<Box p="2">
|
<Box p="2">
|
||||||
<MentionText
|
<GraphContentWide
|
||||||
api={api}
|
api={api}
|
||||||
transcluded={transcluded}
|
transcluded={transcluded}
|
||||||
content={comment.post.contents}
|
post={comment.post}
|
||||||
group={group}
|
showOurContact={false}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Col>
|
</Col>
|
||||||
|
Loading…
Reference in New Issue
Block a user