mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add share reply link
This commit is contained in:
@@ -1291,8 +1291,8 @@ const All = () => {
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick(reply.cid);
|
||||
handleShareClick(thread.subplebbitAddress, thread.cid);
|
||||
}}>Share thread</li>
|
||||
handleShareClick(thread.subplebbitAddress, reply.cid);
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
@@ -2129,7 +2129,7 @@ const All = () => {
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, reply.cid)
|
||||
}}>Share thread</li>
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
|
||||
@@ -2230,8 +2230,8 @@ const Board = () => {
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, thread.cid);
|
||||
}}>Share thread</li>
|
||||
handleShareClick(selectedAddress, reply.cid);
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
@@ -3082,7 +3082,7 @@ const Board = () => {
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, reply.cid)
|
||||
}}>Share thread</li>
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
|
||||
@@ -1299,8 +1299,8 @@ const Subscriptions = () => {
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick(reply.cid);
|
||||
handleShareClick(thread.subplebbitAddress, thread.cid);
|
||||
}}>Share thread</li>
|
||||
handleShareClick(thread.subplebbitAddress, reply.cid);
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
@@ -2137,7 +2137,7 @@ const Subscriptions = () => {
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, reply.cid)
|
||||
}}>Share thread</li>
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
|
||||
@@ -1396,8 +1396,8 @@ const Thread = () => {
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, comment.cid);
|
||||
}}>Share thread</li>
|
||||
handleShareClick(selectedAddress, reply.cid);
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
@@ -2099,7 +2099,7 @@ const Thread = () => {
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick(reply.cid);
|
||||
handleShareClick(selectedAddress, reply.cid)
|
||||
}}>Share thread</li>
|
||||
}}>Share post</li>
|
||||
<VerifiedAuthor commentCid={reply.cid}>{({ authorAddress }) => (
|
||||
<>
|
||||
{authorAddress === account?.author.address ||
|
||||
|
||||
Reference in New Issue
Block a user