@builder.io/sdk-solid 0.0.8-8 → 0.0.8-9
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/package.json
CHANGED
|
@@ -53,7 +53,7 @@ function RenderContent(props) {
|
|
|
53
53
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
54
54
|
...components, ...(props.customComponents || [])];
|
|
55
55
|
const allComponents = allComponentsArray.reduce((acc, curr) => ({ ...acc,
|
|
56
|
-
[curr.
|
|
56
|
+
[curr.name]: curr
|
|
57
57
|
}), {});
|
|
58
58
|
return allComponents;
|
|
59
59
|
},
|
|
@@ -62,7 +62,7 @@ function RenderContent(props) {
|
|
|
62
62
|
...(props.customComponents || []),
|
|
63
63
|
];
|
|
64
64
|
const allComponents = allComponentsArray.reduce(
|
|
65
|
-
(acc, curr) => ({ ...acc, [curr.
|
|
65
|
+
(acc, curr) => ({ ...acc, [curr.name]: curr }),
|
|
66
66
|
{} as RegisteredComponents
|
|
67
67
|
);
|
|
68
68
|
return allComponents;
|