Comparing version 1.6.0 to 1.6.1
@@ -224,7 +224,3 @@ import { useState, useRef, useEffect, memo } from 'react'; | ||
useEffect(() => { | ||
const { | ||
selector, | ||
observer | ||
} = ref.current; | ||
return observer.subscribe('*', state => setState(selector(state))); | ||
return ref.current.observer.subscribe('*', state => setState(ref.current.selector(state))); | ||
}, []); | ||
@@ -231,0 +227,0 @@ return state; |
{ | ||
"name": "rosma", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
27775
503