Fix endgame buttons

This commit is contained in:
2023-07-16 18:41:17 +02:00
parent e2a2507281
commit f30bdcf8b2
+5 -1
View File
@@ -29,7 +29,11 @@ async function selectWordlist(wordLists: string[], _numWords: number) {
:num-words="numWords"
@end-game="() => gamestate = 'end'"
/>
<EndGame v-else-if="gamestate === 'end'" />
<EndGame
v-else-if="gamestate === 'end'"
@again="() => gamestate = 'play'"
@wordlist="() => gamestate = 'wordlist-selection'"
/>
<div v-else>Not implemented...</div>
</main>
</template>