Skip to content

Commit

Permalink
chore: rename confetti cannon element
Browse files Browse the repository at this point in the history
  • Loading branch information
plushdohn committed Dec 30, 2023
1 parent 195210e commit c86ebec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/game/GameOver.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
onMounted(() => {
if (sortedPlayers.value[0].id === props.playerId) {
const { reward } = useReward("game-over-screen", "confetti", {
const { reward } = useReward("confetti-cannon", "confetti", {
startVelocity: 10,
spread: 360,
elementCount: 100,
Expand All @@ -36,7 +36,7 @@
<div class="relative flex flex-col gap-6 w-full">
<div
class="absolute left-1/2 top-0 -translate-x-1/2 w-1 h-1"
id="game-over-screen"
id="confetti-cannon"
/>
<DescribedHeader>
<template #header>
Expand Down

0 comments on commit c86ebec

Please sign in to comment.