@makeswift/runtime 0.0.7 → 0.0.8
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/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8169,7 +8169,7 @@ function useStyleControlCssObject(style, controlDefinition) {
|
|
|
8169
8169
|
return `${borderRadius.value}${borderRadius.unit}`;
|
|
8170
8170
|
}
|
|
8171
8171
|
}
|
|
8172
|
-
const useInsertionEffect = (_ea = React
|
|
8172
|
+
const useInsertionEffect = (_ea = React["useInsertionEffect"]) != null ? _ea : React.useLayoutEffect;
|
|
8173
8173
|
function useFormattedStyle(styleControlData, controlDefinition) {
|
|
8174
8174
|
const style = useStyleControlCssObject(styleControlData, controlDefinition);
|
|
8175
8175
|
const serialized = serializeStyles([style], cache.registered);
|