From 3fd553b82bf491145eab606bc9d065ccee785119 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 9 Aug 2022 16:13:53 -0700 Subject: [PATCH] fix: :bug: No computed on declared var --- package.json | 2 +- packages/client/src/pages/timeline.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b38bcadfd6..829614b44d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", -"version": "12.118.1-calc.rc.9.3", +"version": "12.118.1-calc.rc.9.4", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index c6a9a9c1bc..54663f4682 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -50,7 +50,7 @@ let queue = $ref(0); let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global'); let src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) }); if (!enableGuestTimeline) { - src = $computed({}); + src = {}; } watch ($$(src), () => queue = 0);