Skip to content

Commit

Permalink
chore: using proper variable names (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amorites committed Nov 9, 2022
1 parent acd1699 commit 11c1a35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rxjs/from/_demo.vue
Expand Up @@ -24,7 +24,7 @@ useSubscription(
immediate: true,
deep: false,
})),
map(([total, curr]) => curr + total),
map(([curr, total]) => curr + total),
)
.subscribe(toObserver(count)),
)
Expand Down
2 changes: 1 addition & 1 deletion packages/rxjs/from/index.md
Expand Up @@ -26,7 +26,7 @@ useSubscription(
immediate: true,
deep: false,
})),
map(([total, curr]) => curr + total),
map(([curr, total]) => curr + total),
)
.subscribe(toObserver(count)), // same as ).subscribe(val => (count.value = val))
)
Expand Down

0 comments on commit 11c1a35

Please sign in to comment.