mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +03:00
parent
e279b08049
commit
c4cdf415c9
@ -87,7 +87,7 @@ export function getLatestRevision(node: GraphNode): [number, string, string, Pos
|
|||||||
return empty
|
return empty
|
||||||
}
|
}
|
||||||
const [title, body] = rev.post.contents as TextContent[];
|
const [title, body] = rev.post.contents as TextContent[];
|
||||||
return [revNum, title.text, body.text, rev.post];
|
return [revNum.toJSNumber(), title.text, body.text, rev.post];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getComments(node: GraphNode): GraphNode {
|
export function getComments(node: GraphNode): GraphNode {
|
||||||
|
Loading…
Reference in New Issue
Block a user