diff --git a/package.json b/package.json index 2eb4bae2c4..716ba82528 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.12.3", + "version": "12.119.0-calc.12.4", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue index 871fa00428..ac8ece1e17 100644 --- a/packages/client/src/pages/explore.users.vue +++ b/packages/client/src/pages/explore.users.vue @@ -80,8 +80,6 @@ watch(() => props.tag, () => { if (tagsEl) tagsEl.toggleContent(props.tag == null); }); -watch(() => pinnedUsersList, () => {}) - const tagUsers = $computed(() => ({ endpoint: 'hashtags/users' as const, limit: 30, @@ -92,13 +90,8 @@ const tagUsers = $computed(() => ({ }, })); -let pinnedUsersList = []; - -os.api('pinned-users').then(res => { - res?.forEach(u => { - pinnedUsersList.push(u); - }); -}); +const pinnedUsersList = os.api('pinned-users'); +console.log(pinnedUsersList); const pinnedUsers = { endpoint: 'pinned-users' }; const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: {