refactor: remove NFT avatar functionality

Removes avatar-settings component, avatar-visibility store, and all
avatar rendering from posts. Strips avatar from account JSON, renames
NFT gateway label to media IPFS gateway, removes Polygon RPC and
hide-avatars toggle. Deletes 6 avatar-related translation keys.
This commit is contained in:
plebeius
2026-02-19 17:40:10 +08:00
parent 1d133b812d
commit 981940731b
48 changed files with 27 additions and 693 deletions
@@ -18,7 +18,17 @@ const AccountSettingsEditor = ({
const location = useLocation();
const accountJson = useMemo(
() => stringify({ account: { ...account, plebbit: undefined, karma: undefined, plebbitReactOptions: undefined, unreadNotificationCount: undefined } }),
() =>
stringify({
account: {
...account,
author: { ...account?.author, avatar: undefined },
plebbit: undefined,
karma: undefined,
plebbitReactOptions: undefined,
unreadNotificationCount: undefined,
},
}),
[account],
);