Skip to content

Commit

Permalink
fix: update status ref to use status.value (#3174)
Browse files Browse the repository at this point in the history
Co-authored-by: TAKAHASHI Shuuji <[email protected]>
  • Loading branch information
serkodev and shuuji3 authored Feb 3, 2025
1 parent 414adb5 commit 12273ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/masto/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12273ea

Please sign in to comment.