diff --git a/sdk/react/src/lib/components/fragment.tsx b/sdk/react/src/lib/components/fragment.tsx index 89dee989..7cd9f89a 100644 --- a/sdk/react/src/lib/components/fragment.tsx +++ b/sdk/react/src/lib/components/fragment.tsx @@ -141,7 +141,7 @@ export const Fragment = ({ useEffect(() => { setAllCustomComponentsCollections([ ...(remoteCustomComponentsCollections as any[] || []).flat(), - ...customComponentsCollections + ...(customComponentsCollections || []) ]); }, [remoteCustomComponentsCollections, customComponentsCollections]);