@arquimedes.co/eureka-forms 3.0.48-test → 3.0.49-test

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.
@@ -27,7 +27,8 @@ function SmartDraftRenderer({ draft, margin, onChange, property, dependencies })
27
27
  useEffect(() => {
28
28
  if (mapped && !postview)
29
29
  onChange?.(mapped);
30
- }, [mapped, onChange, postview]);
30
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- onChange is unstable by design; depending on it loops
31
+ }, [mapped, postview]);
31
32
  const { editorState, isEmpty } = useMemo(() => {
32
33
  const content = convertFromRaw(cleanUpDraftParams(isFetching ? draft : (mapped ?? draft)));
33
34
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"3.0.48-test",
4
+ "version":"3.0.49-test",
5
5
  "scripts": {
6
6
  "watch": "tsgo --noEmit --watch --project tsconfig.app.json",
7
7
  "start": "vite",