fix: useSubscription outside of component
This commit is contained in:
@@ -280,7 +280,7 @@ export function useSubscription <
|
||||
})
|
||||
|
||||
// Teardown
|
||||
onBeforeUnmount(stop)
|
||||
vm && onBeforeUnmount(stop)
|
||||
|
||||
return {
|
||||
result,
|
||||
|
||||
Reference in New Issue
Block a user