@mailstep/design-system 0.8.32-beta.1 → 0.8.32-beta.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.8.32-beta.1",
3
+ "version": "0.8.32-beta.2",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -14,7 +14,7 @@ const useGridAggregation = ({ rowsData, columns, activeColumnName, operation })
14
14
  rowsData
15
15
  ]);
16
16
  const numericValues = useMemo(() => {
17
- return rowsData.map((row) => {
17
+ return rowsData?.map((row) => {
18
18
  const value = get(activeColumnName || "", row);
19
19
  const rowValue = column?.formatRowValue?.(row) || value;
20
20
  return Number(rowValue);