@overmap-ai/core 1.0.60-forms-removal.0 → 1.0.60-forms-removal.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -704,7 +704,7 @@ function memoize(func) {
|
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
706
|
function useMemoCompare(next, compare) {
|
|
707
|
-
const previousRef = useRef();
|
|
707
|
+
const previousRef = useRef(void 0);
|
|
708
708
|
const previous = previousRef.current;
|
|
709
709
|
const isEqual = compare(previous, next);
|
|
710
710
|
useEffect(() => {
|