]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: comment for next version
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 1 Oct 2021 11:50:14 +0000 (13:50 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 1 Oct 2021 11:50:14 +0000 (13:50 +0200)
packages/pinia/src/store.ts

index 7c28103843855761e9554d5582d486aaab8655e6..c7467a6e351ecd8b34a85e79b2c627289054666b 100644 (file)
@@ -84,6 +84,7 @@ function isComputed(o: any): o is ComputedRef {
       // TODO: make something in @vue/composition-api to be able to check this
       descriptor.get.toString().length > 42) as boolean
   }
+  // !!(isRef(o) && o.effect)
   return o && o.effect
 }