Chore/update babel dependencies

This commit is contained in:
Sofiya Tepikin
2022-11-13 20:00:23 +00:00
parent cd24522b4d
commit cc62e24229
3 changed files with 487 additions and 329 deletions
+3 -4
View File
@@ -1,17 +1,16 @@
export default function (feeling, texture) {
export default function getSensiplanMucus(feeling, texture) {
if (typeof feeling != 'number' || typeof texture != 'number') return null
const feelingMapping = {
0: 0,
1: 1,
2: 2,
3: 4
3: 4,
}
const textureMapping = {
0: 0,
1: 3,
2: 4
2: 4,
}
const nfpFeelingValue = feelingMapping[feeling]
const nfpTextureValue = textureMapping[texture]