Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Context onError type fix (#5137)

Ivan Starkova5009f5159a9
diff --git a/packages/react-sdk/src/context.tsx b/packages/react-sdk/src/context.tsx
index 6a731c50c0..9ca2d1148a 100644
--- a/packages/react-sdk/src/context.tsx
+++ b/packages/react-sdk/src/context.tsx
@@ -33,7 +33,7 @@ export const ReactSdkContext = createContext<
// eslint-disable-next-line @typescript-eslint/no-explicit-any
resources: Record<string, any>;
breakpoints: { id: string; minWidth?: number; maxWidth?: number }[];
- onError: (error: Error) => void;
+ onError: (error: unknown) => void;
}
>({
assetBaseUrl: "/",
diff --git a/packages/sdk-components-animation/private-src b/packages/sdk-components-animation/private-src
index 49cbd49615..b1951061c7 160000
--- a/packages/sdk-components-animation/private-src
+++ b/packages/sdk-components-animation/private-src
@@ -1 +1 @@
-Subproject commit 49cbd49615280279ac066eb91e22f23d2a27098c
+Subproject commit b1951061c7f792bc01cfb6ed96ecb3aa5893c711