add share reply link

This commit is contained in:
plebeius.eth
2023-09-15 10:36:48 +02:00
parent b826f332d6
commit 72a12ddb8c
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -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 ||
+3 -3
View File
@@ -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 ||
+3 -3
View File
@@ -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 ||
+3 -3
View File
@@ -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 ||