From 12273eae1d3504b4df6c12afe6747f9313b36e70 Mon Sep 17 00:00:00 2001 From: SerKo <44749100+serkodev@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:03:02 +0800 Subject: [PATCH] fix: update `status` ref to use `status.value` (#3174) Co-authored-by: TAKAHASHI Shuuji --- composables/masto/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composables/masto/status.ts b/composables/masto/status.ts index a2fa96b817..fa83c948dd 100644 --- a/composables/masto/status.ts +++ b/composables/masto/status.ts @@ -42,7 +42,7 @@ export function useStatusActions(props: StatusActionsProps) { if (isCancel && countField && prevCount === newStatus[countField]) newStatus[countField] -= 1 - Object.assign(status, newStatus) + Object.assign(status.value, newStatus) cacheStatus(newStatus, undefined, true) }).finally(() => { isLoading.value[action] = false