diff --git a/package.json b/package.json index b5c2b21a38..5826ad0f1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.2.0-dev34", + "version": "13.2.0-dev35", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index a09ebae39b..900d842650 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -114,7 +114,7 @@ const keymap = { t: focus, }; -let timelines = ['forYou'] +let timelines = ['forYou']; if (isRecommendedTimelineAvailable || isGlobalTimelineAvailable) { timelines.push('explore'); @@ -134,6 +134,10 @@ if (isGlobalTimelineAvailable) { discoverTimelines.push('global'); } +let tab = $ref(timelines[0]); +watch($$(tab), () => (syncSlide(timelines.indexOf(tab)))); + + const hotPagination = { endpoint: 'notes/featured' as const, limit: 20,