fix: useSubscription outside of component

This commit is contained in:
Guillaume Chau
2021-11-28 19:34:36 +01:00
parent 3c8545b895
commit a37a560ca5
@@ -280,7 +280,7 @@ export function useSubscription <
})
// Teardown
onBeforeUnmount(stop)
vm && onBeforeUnmount(stop)
return {
result,