histogram width divide by mode, not total #2

Merged
christofsteel merged 47 commits from honigle into main 2022-02-02 13:59:36 +01:00
Showing only changes of commit f6f16b1dc6 - Show all commits

View file

@ -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,
}