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 3478533926 - Show all commits

View file

@ -21,7 +21,7 @@ export const getWordOfDay = () => {
const nextday = (index + 1) * msInDay + epochMs const nextday = (index + 1) * msInDay + epochMs
return { return {
solution: WORDS[index % WORDS.length].toUpperCase() solution: WORDS[index % WORDS.length].toUpperCase(),
solutionIndex: index, solutionIndex: index,
tomorrow: nextday, tomorrow: nextday,
} }