kripke: hard reload on replaying random mode

This commit is contained in:
2025-02-27 18:28:53 +09:00
parent ead8c4ae6a
commit 84f5e9f6cb

View File

@@ -87,6 +87,7 @@ $effect(() => {
<div class="flex flex-col md:flex-row gap-2 w-full justify-end"> <div class="flex flex-col md:flex-row gap-2 w-full justify-end">
<Share seed={seed} moves={moves} status={status} /> <Share seed={seed} moves={moves} status={status} />
<Button <Button
data-sveltekit-reload
href="/kripke/random"> href="/kripke/random">
<LuRotateCw class="w-4 h-4 mt-[2px]" /> Play New Game <LuRotateCw class="w-4 h-4 mt-[2px]" /> Play New Game
</Button> </Button>