fix: 🐛 No computed on declared var

This commit is contained in:
ThatOneCalculator 2022-08-09 16:13:53 -07:00
parent 0e49dd6066
commit 913f10d658
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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);