Skip to content

Commit bbeb0da

Browse files
committed
Changed the exception to face detection
1 parent 8c5f2f9 commit bbeb0da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const DetectingFace = (props) => {
8888
// If the app got to this screen after moving away from the user's mouth,
8989
// don't auto-continue. Only do so if it gets to this page from
9090
// R_MovingToStagingConfiguration
91-
if (faceDetectionAutoContinue && prevMealState !== MEAL_STATE.R_MovingFromMouth) {
91+
if (faceDetectionAutoContinue && prevMealState === MEAL_STATE.R_MovingToStagingConfiguration) {
9292
moveToMouthCallback()
9393
}
9494
},

0 commit comments

Comments
 (0)