@bluemarble/bm-components 0.0.74 → 0.0.75

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/esm/index.js CHANGED
@@ -15162,7 +15162,7 @@ function useGrid({ columns, filters = [], rowsPerPageOptions = [30, 60, 100] })
15162
15162
  if (sortedBy) {
15163
15163
  return data.sort((a, b) => {
15164
15164
  const compare = b[sortedBy] > a[sortedBy];
15165
- if (sortedDirection === 'asc')
15165
+ if (sortedDirection === 'desc')
15166
15166
  return compare ? 1 : -1;
15167
15167
  return compare ? -1 : 1;
15168
15168
  });