Don't compute nfp mucus value when data missing

This commit is contained in:
Julia Friesel
2019-05-08 06:44:14 +02:00
parent f1ca709f25
commit 6402370eaf
+3
View File
@@ -1,4 +1,7 @@
export default function (feeling, texture) {
if (typeof feeling != 'number' || typeof texture != 'number') return null
const feelingMapping = {
0: 0,
1: 1,