Fix shuffling of buttons

main
trivernis 5 months ago
parent 1593c2f97c
commit 4ddee7fda8
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -4,8 +4,9 @@
import allButtons from "$lib/buttons";
const buttons = $derived.by(() => {
shuffle([...allButtons]);
return allButtons;
const newList = [...allButtons];
shuffle(newList);
return newList;
});
</script>

Loading…
Cancel
Save