Don't compute nfp mucus value when data missing
This commit is contained in:
1 parent
f1ca709f25
commit
6402370eaf
1 file changed
+3
@@ -1,4 +1,7 @@
|
||||
export default function (feeling, texture) {
|
||||
|
||||
if (typeof feeling != 'number' || typeof texture != 'number') return null
|
||||
|
||||
const feelingMapping = {
|
||||
0: 0,
|
||||
1: 1,
|
||||
|
||||
Reference in new issue
Block a user