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"; import allButtons from "$lib/buttons";
const buttons = $derived.by(() => { const buttons = $derived.by(() => {
shuffle([...allButtons]); const newList = [...allButtons];
return allButtons; shuffle(newList);
return newList;
}); });
</script> </script>

Loading…
Cancel
Save