commit
73d7ae7686
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export const getWordOfDay = () => {
|
|||
const nextday = (index + 1) * msInDay + epochMs
|
||||
|
||||
return {
|
||||
solution: WORDS[index].toUpperCase(),
|
||||
solution: WORDS[index % WORDS.length].toUpperCase(),
|
||||
solutionIndex: index,
|
||||
tomorrow: nextday,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue