🐛 ajoute la possibilité de spécifier une valeur à 0 pour les champs d'entrée de nombre"

pull/1152/head
Johan Girod 2020-10-12 15:20:03 +02:00
parent d407e0e82f
commit 79f4c59b17
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export default function Conversation({ customEndMessages }: ConversationProps) {
const rules = useContext(EngineContext).getParsedRules()
const currentQuestion = useNextQuestions()[0]
const situation = useSelector(situationSelector)
const currentQuestionIsAnswered = !!situation[currentQuestion]
const currentQuestionIsAnswered = situation[currentQuestion] != null
const previousAnswers = useSelector(answeredQuestionsSelector)
useEffect(() => {
if (currentQuestion) {