🐞 Fix measurementDiffers to crash with breasts
This commit is contained in:
parent
5e6c32b2f2
commit
76cc7405dd
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ const measurementDiffers = (
|
||||||
measurementName,
|
measurementName,
|
||||||
measurementValue,
|
measurementValue,
|
||||||
breasts = false
|
breasts = false
|
||||||
) => Math.abs(Math.round((measurementValue - neckstimate(neckCircumference, measurementName)) / 20))
|
) => Math.abs(Math.round((measurementValue - neckstimate(neckCircumference, measurementName, breasts)) / 20))
|
||||||
|
|
||||||
export default measurementDiffers
|
export default measurementDiffers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue