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