fix(SettingsModal): don't show signer in account data preview

This commit is contained in:
plebeius.eth
2023-12-18 09:44:53 +01:00
parent fc086ff5e7
commit f1f1eaa2fe
+1 -1
View File
@@ -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]);