@plasmicpkgs/plasmic-rich-components 1.0.155 → 1.0.157
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.js
CHANGED
|
@@ -2312,7 +2312,13 @@ function RichList(props) {
|
|
|
2312
2312
|
"pagination",
|
|
2313
2313
|
"onRowClick"
|
|
2314
2314
|
]);
|
|
2315
|
-
const
|
|
2315
|
+
const normalizedData = dataSources.useNormalizedData(rawData);
|
|
2316
|
+
const data = React__default.default.useMemo(() => {
|
|
2317
|
+
if (!(normalizedData == null ? void 0 : normalizedData.data)) {
|
|
2318
|
+
return normalizedData;
|
|
2319
|
+
}
|
|
2320
|
+
return __spreadProps$1(__spreadValues$3({}, normalizedData), { data: tagDataArray(normalizedData.data) });
|
|
2321
|
+
}, [normalizedData]);
|
|
2316
2322
|
const { normalized, finalRoles: roleConfigs } = useRoleDefinitions$1(
|
|
2317
2323
|
data,
|
|
2318
2324
|
props
|