@momo-kits/foundation 0.156.1-alpha.1 → 0.156.1-beta.2

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.
@@ -54,13 +54,13 @@ export const TooltipPortalProvider: React.FC<{ children: ReactNode }> = ({
54
54
  pendingUpdateRef.current = setTimeout(() => {
55
55
  forceUpdate();
56
56
  pendingUpdateRef.current = null;
57
- }, 0) as unknown as NodeJS.Timeout;
57
+ }, 0);
58
58
  }
59
59
  }, []);
60
60
 
61
61
  const value = useMemo(
62
62
  () => ({ register, unregister, portals: portalsRef.current, hostRef }),
63
- [register, unregister, updateCounter], // Include updateCounter to refresh context
63
+ [register, unregister], // Include updateCounter to refresh context
64
64
  );
65
65
 
66
66
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.156.1-alpha.1",
3
+ "version": "0.156.1-beta.2",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},