Répare bug critique sur safari

pull/2297/head
Johan Girod 2022-09-19 08:40:36 +02:00
parent 9aa5b2f069
commit fed7ffad25
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export function getNextQuestions(
notPriority.findIndex((name) => question.startsWith(name)) + 1
const differenceCoeff = questionDifference(
question,
answeredQuestions.at(-1)
answeredQuestions.slice(-1)[0]
)
return indexList + indexNotPriority + differenceCoeff