Skip to content

Commit

Permalink
[docs] remove confusing assignment from stores tutorial (#6867)
Browse files Browse the repository at this point in the history
Tutorial on writable stores contains unexplained and unused assignment
which might cause confusion.

Proper explanations on `unsubscribe` is in the next step of the tutorial.
  • Loading branch information
gunggmee authored Oct 21, 2021
1 parent 6f8a6fe commit 64435d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let count_value;
const unsubscribe = count.subscribe(value => {
count.subscribe(value => {
count_value = value;
});
</script>
Expand Down

0 comments on commit 64435d1

Please sign in to comment.