@titan-design/react-ui 0.9.1 → 0.9.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/dist/pages.mjs CHANGED
@@ -2633,7 +2633,8 @@ function ExerciseIndicator({ kind, onPress, className, ...props }) {
2633
2633
 
2634
2634
  // src/components/custom/Workout/ExerciseHeading.tsx
2635
2635
  function headingLabel(name, sets, reps, load, unit) {
2636
- return `${name}, ${sets}\xD7${reps} @ ${roundWeight(load)} ${unit}`;
2636
+ const loadLabel = typeof load === "number" ? roundWeight(load) : load;
2637
+ return `${name}, ${sets}\xD7${reps} @ ${loadLabel} ${unit}`;
2637
2638
  }
2638
2639
  function ExerciseHeading({
2639
2640
  name,