Skip to content

Commit

Permalink
Defining the performance of the 'Pet' signal (state) into the randomi…
Browse files Browse the repository at this point in the history
…zed const.
  • Loading branch information
Eduardo-J-Morales committed Nov 20, 2024
1 parent 90b3203 commit 32f964d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function App() {
];

const event = events[Math.floor(Math.random() * events.length)];
setPet(event.emoji);

}

Expand Down

0 comments on commit 32f964d

Please sign in to comment.