remove json values karma, unreadNotificationCount

This commit is contained in:
plebeius.eth
2023-09-10 09:02:42 +02:00
parent b9c9d27a6c
commit 7ccb50a76d
+1 -1
View File
@@ -31,7 +31,7 @@ const SettingsModal = ({ isOpen, closeModal }) => {
const accountJson = useMemo(() => {
if (account) {
const { plebbit, ...restOfAccount } = account;
const { plebbit, karma, unreadNotificationCount, ...restOfAccount } = account;
return stringify({ account: restOfAccount });
}
}, [account]);