From c331d23b3f350e12aef4d2fe6ca411964c730b97 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 9 Nov 2022 20:09:41 -0800 Subject: [PATCH] console log --- package.json | 2 +- packages/client/src/pages/explore.users.vue | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) 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: {