@titan-design/react-ui 0.9.1 → 0.9.3

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.js CHANGED
@@ -2635,7 +2635,8 @@ function ExerciseIndicator({ kind, onPress, className, ...props }) {
2635
2635
 
2636
2636
  // src/components/custom/Workout/ExerciseHeading.tsx
2637
2637
  function headingLabel(name, sets, reps, load, unit) {
2638
- return `${name}, ${sets}\xD7${reps} @ ${roundWeight(load)} ${unit}`;
2638
+ const loadLabel = typeof load === "number" ? roundWeight(load) : load;
2639
+ return `${name}, ${sets}\xD7${reps} @ ${loadLabel} ${unit}`;
2639
2640
  }
2640
2641
  function ExerciseHeading({
2641
2642
  name,