Skip to content

Commit

Permalink
Fix missing word from translateFr response
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmielnik committed Jan 19, 2021
1 parent 7517f8b commit b82f274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scrabble-solver/src/api/translateFr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const parseCnrtlResponse = (html: string): WordDefinition => {
),
),
isAllowed: $('#vitemselected span').length > 0,
word: $('#query').text().trim(),
word: $('#query').val().trim(),
});
return wordDefinition;
};
Expand Down

0 comments on commit b82f274

Please sign in to comment.