fix: remove stats from UI that aren't available anymore

includes no. of topic's followers, no. of topics a person is following, etc.
This commit is contained in:
zyachel 2024-04-08 00:28:47 +05:30
parent f11d3f2ac6
commit a0ac36a174
4 changed files with 2 additions and 14 deletions

View file

@ -184,7 +184,6 @@ const getProfile = async (slug, lang) => {
},
spaces: {
numActiveInSpaces: rawData.numCanContributeTribes,
numFollowingSpaces: rawData.numFollowedTribes,
spaces: rawData.followingTribesConnection.edges.map(space => ({
numItems: space.node.numItemsOfUser,
url: quetrefy(space.node.url),
@ -194,7 +193,6 @@ const getProfile = async (slug, lang) => {
})),
},
topics: {
numFollowingTopics: rawData.numFollowedTopics,
topics: rawData.expertiseTopicsConnection.edges.map(topic => ({
name: topic.node.name,
url: quetrefy(topic.node.url),

View file

@ -30,8 +30,6 @@ const data = {
name: rawData.name,
url: quetrefy(rawData.url),
image: rawData.photoUrl,
aliases: rawData.aliases,
numFollowers: rawData.numFollowers,
// isLocked: rawData.isLocked,
isAdult: rawData.adult,
mostViewedAuthors: rawData.mostViewedAuthors.map(author => ({