fix replymodal in anon mode

This commit is contained in:
plebeius.eth
2023-06-17 21:18:09 +02:00
parent 869d653ce3
commit fd84cbc55e
5 changed files with 2 additions and 27 deletions
-4
View File
@@ -669,7 +669,6 @@ const All = () => {
if (e.button === 2) return;
e.preventDefault();
setIsReplyOpen(true);
setSelectedThread(thread.cid);
setSelectedShortCid(thread.shortCid);
setSelectedParentCid(thread.cid);
setSelectedAddress(thread.subplebbitAddress);
@@ -949,7 +948,6 @@ const All = () => {
if (e.button === 2) return;
e.preventDefault();
setIsReplyOpen(true);
setSelectedThread(thread.cid);
setSelectedShortCid(reply.shortCid);
setSelectedParentCid(reply.cid);
setSelectedAddress(thread.subplebbitAddress);
@@ -1383,7 +1381,6 @@ const All = () => {
if (e.button === 2) return;
e.preventDefault();
setIsReplyOpen(true);
setSelectedThread(thread.cid);
setSelectedShortCid(thread.shortCid);
setSelectedParentCid(thread.cid);
setSelectedAddress(thread.subplebbitAddress);
@@ -1556,7 +1553,6 @@ const All = () => {
if (e.button === 2) return;
e.preventDefault();
setIsReplyOpen(true);
setSelectedThread(thread.cid);
setSelectedShortCid(reply.shortCid);
setSelectedParentCid(reply.cid);
setSelectedAddress(thread.subplebbitAddress);