mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(SettingsModal): don't show signer in account data preview
This commit is contained in:
@@ -43,7 +43,7 @@ const SettingsModal = ({ isOpen, closeModal }) => {
|
|||||||
|
|
||||||
const accountJson = useMemo(() => {
|
const accountJson = useMemo(() => {
|
||||||
if (account) {
|
if (account) {
|
||||||
const { plebbit, karma, unreadNotificationCount, ...restOfAccount } = account;
|
const { plebbit, karma, unreadNotificationCount, signer, ...restOfAccount } = account;
|
||||||
return stringify({ account: restOfAccount });
|
return stringify({ account: restOfAccount });
|
||||||
}
|
}
|
||||||
}, [account]);
|
}, [account]);
|
||||||
|
|||||||
Reference in New Issue
Block a user