mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix account address update after using signer
This commit is contained in:
@@ -445,6 +445,7 @@ const Board = () => {
|
||||
...prevPublishCommentOptions,
|
||||
author: {
|
||||
displayName: nameRef.current.value || undefined,
|
||||
address: account?.author.address,
|
||||
},
|
||||
title: subjectRef.current.value || undefined,
|
||||
content: commentRef.current.value || undefined,
|
||||
@@ -482,7 +483,7 @@ const Board = () => {
|
||||
signer,
|
||||
author: {
|
||||
...prevPublishCommentOptions.author,
|
||||
address: signer?.address
|
||||
address: signer?.address,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user