fix account address update after using signer

This commit is contained in:
plebeius.eth
2023-08-01 14:48:47 +02:00
parent 4068bde896
commit a7a7001542
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -386,6 +386,7 @@ const Thread = () => {
...prevPublishCommentOptions,
author: {
displayName: nameRef.current.value || undefined,
address: account?.author.address,
},
content: commentRef.current.value || undefined,
link: linkRef.current.value || undefined,
@@ -423,7 +424,7 @@ const Thread = () => {
signer,
author: {
...prevPublishCommentOptions.author,
address: signer?.address
address: signer?.address,
},
};