@plasmicpkgs/plasmic-rich-components 1.0.195 → 1.0.197

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.
@@ -1687,7 +1687,8 @@ function RichTable(props) {
1687
1687
  rowKey,
1688
1688
  scopeClassName
1689
1689
  } = props;
1690
- const normalizedData = useNormalizedData(rawData);
1690
+ const isClient = useIsClient();
1691
+ const normalizedData = useNormalizedData(isClient ? rawData : []);
1691
1692
  const data = useMemo(() => {
1692
1693
  if (!(normalizedData == null ? void 0 : normalizedData.data)) {
1693
1694
  return normalizedData;
@@ -1701,7 +1702,6 @@ function RichTable(props) {
1701
1702
  normalized
1702
1703
  );
1703
1704
  const rowSelectionProps = useRowSelectionProps(data, props);
1704
- const isClient = useIsClient();
1705
1705
  if (!isClient) {
1706
1706
  return null;
1707
1707
  }
@@ -1882,7 +1882,7 @@ function useColumnDefinitions(data, props) {
1882
1882
  renderFormItem: (_, { defaultRender }) => {
1883
1883
  return defaultRender(_);
1884
1884
  },
1885
- render: (value, record, rowIndex) => {
1885
+ render: (_value, record, _rowIndex) => {
1886
1886
  return renderValue(record, cconfig);
1887
1887
  }
1888
1888
  };