Passing in root prop for post comments
This commit is contained in:
parent
2b12a83aa8
commit
bbae426c09
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export function SinglePost(): JSXElement {
|
|||
<Show when={post()}>
|
||||
<PostSegment post={post()!} />
|
||||
<Show when={login_ctx.loggedIn()}>
|
||||
<NewCommentInputArea parentPostId={parseInt(params.postid)} />
|
||||
<NewCommentInputArea parentCommentId={null} parentPostId={parseInt(params.postid)} />
|
||||
</Show>
|
||||
<CommentSection postId={params.postid} />
|
||||
</Show>
|
||||
|
|
Loading…
Reference in a new issue