fix comment.author.address does not match signer

This commit is contained in:
plebeius.eth
2023-08-10 21:02:11 +02:00
parent edc1a32f01
commit 492e824818
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
...prevPublishCommentOptions,
author: {
displayName: nameRef.current.value || undefined,
address: account?.author.address,
...(anonymousMode ? {} : {address: account?.author.address}),
},
content: commentRef.current.value || undefined,
link: linkRef.current.value || undefined,
+1 -1
View File
@@ -446,7 +446,7 @@ const Board = () => {
...prevPublishCommentOptions,
author: {
displayName: nameRef.current.value || undefined,
address: account?.author.address,
...(anonymousMode ? {} : {address: account?.author.address}),
},
title: subjectRef.current.value || undefined,
content: commentRef.current.value || undefined,
+1 -1
View File
@@ -906,7 +906,7 @@ const Catalog = () => {
...prevPublishCommentOptions,
author: {
displayName: nameRef.current.value || undefined,
address: account?.author.address,
...(anonymousMode ? {} : {address: account?.author.address}),
},
title: subjectRef.current.value || undefined,
content: commentRef.current.value || undefined,
+1 -1
View File
@@ -387,7 +387,7 @@ const Thread = () => {
...prevPublishCommentOptions,
author: {
displayName: nameRef.current.value || undefined,
address: account?.author.address,
...(anonymousMode ? {} : {address: account?.author.address}),
},
content: commentRef.current.value || undefined,
link: linkRef.current.value || undefined,