This commit is contained in:
Henry Jameson 2026-08-14 21:59:48 +03:00
commit 05c5d17c49

View file

@ -231,7 +231,9 @@ export const mutations = {
},
saveFollowerIds(state, { id, followerIds }) {
const user = state.usersObject[id]
user.followerIds = [...new Set([...(user.followerIds || []), ...followerIds])]
user.followerIds = [
...new Set([...(user.followerIds || []), ...followerIds]),
]
},
// Because frontend doesn't have a reason to keep these stuff in memory
// outside of viewing someones user profile.