console log

This commit is contained in:
ThatOneCalculator 2022-11-09 20:09:41 -08:00
parent 15430ca087
commit c331d23b3f
2 changed files with 3 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.12.3", "version": "12.119.0-calc.12.4",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -80,8 +80,6 @@ watch(() => props.tag, () => {
if (tagsEl) tagsEl.toggleContent(props.tag == null); if (tagsEl) tagsEl.toggleContent(props.tag == null);
}); });
watch(() => pinnedUsersList, () => {})
const tagUsers = $computed(() => ({ const tagUsers = $computed(() => ({
endpoint: 'hashtags/users' as const, endpoint: 'hashtags/users' as const,
limit: 30, limit: 30,
@ -92,13 +90,8 @@ const tagUsers = $computed(() => ({
}, },
})); }));
let pinnedUsersList = []; const pinnedUsersList = os.api('pinned-users');
console.log(pinnedUsersList);
os.api('pinned-users').then(res => {
res?.forEach(u => {
pinnedUsersList.push(u);
});
});
const pinnedUsers = { endpoint: 'pinned-users' }; const pinnedUsers = { endpoint: 'pinned-users' };
const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: { const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: {