Skip to content

Commit

Permalink
fixed faulty rendering of comment screen
Browse files Browse the repository at this point in the history
  • Loading branch information
cShingleton committed Sep 22, 2017
1 parent 634f0d3 commit 114c838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scenes/Surveys/Pages/Surveys.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Surveys = ({
completePerc={questions.indexOf(question) + 1}
totalSteps={questions.length + 1}
/>
<RightNavArrow navAction={() => nextQuestionFunc(nextQuestion.question)} />
<RightNavArrow navAction={() => nextQuestionFunc((nextQuestion) ? nextQuestion.question : null)} />
</View>
</View>
</ScrollView>
Expand Down

0 comments on commit 114c838

Please sign in to comment.