Bug fix on fillblanks calculateScore
This commit is contained in:
@@ -34,7 +34,7 @@ export default function FillBlanksSolutions({
|
||||
if (typeof w === "string") {
|
||||
return w.toLowerCase() === x.solution.toLowerCase();
|
||||
} else if ('letter' in w) {
|
||||
return w.word.toLowerCase() === x.solution.toLowerCase();
|
||||
return w.letter.toLowerCase() === x.solution.toLowerCase();
|
||||
} else {
|
||||
return w.id.toString() === x.id.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user