@atomico/hooks
Advanced tools
Comparing version 3.20.0 to 3.20.1
{ | ||
"name": "@atomico/hooks", | ||
"description": "Series of utilities in hooks format to extend the operation of Atomico", | ||
"version": "3.20.0", | ||
"version": "3.20.1", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "workspaces": [ |
@@ -28,5 +28,5 @@ import { useHost, useEffect } from "atomico"; | ||
ref?.states?.forEach((state) => state.update()); | ||
useEffect(() => ref?.states?.forEach((state) => state.update())); | ||
return ref; | ||
} |
67066