fix posting links

This commit is contained in:
Tom
2023-04-26 15:17:26 +02:00
parent 8abe97f82c
commit 9a92dbf61b
4 changed files with 6 additions and 22 deletions
+2 -2
View File
@@ -349,12 +349,12 @@ const Thread = () => {
</div>
<div id="post-form-link-desktop">
[
<a href={()=> {}} onClick={() => {handleClickForm(); setSelectedShortCid(comment.shortCid)}} onMouseOver={(event) => event.target.style.cursor='pointer'}>Post a Reply</a>
<Link to={`/p/${subplebbitAddress}/c/${selectedThread}/post`} onClick={() => {handleClickForm(); setSelectedShortCid(comment.shortCid)}} onMouseOver={(event) => event.target.style.cursor='pointer'}>Post a Reply</Link>
]
</div>
<div id="post-form-link-mobile">
<span className="btn-wrap">
<a href={()=> {}} onClick={() => {handleClickForm(); setSelectedShortCid(comment.shortCid)}} onMouseOver={(event) => event.target.style.cursor='pointer'}>Post a Reply</a>
<Link to={`/p/${subplebbitAddress}/c/${selectedThread}/post`} onClick={() => {handleClickForm(); setSelectedShortCid(comment.shortCid)}} onMouseOver={(event) => event.target.style.cursor='pointer'}>Post a Reply</Link>
</span>
</div>
</ReplyFormLink>