Skip to content

Commit

Permalink
fix: on null confetti
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Aug 3, 2024
1 parent a4f20d2 commit c7b896b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/like.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export const like = (() => {
};

const animation = (card) => {
if (!confetti) {
return;
}

const end = Date.now() + 25;
const colors = ['#ff69b4', '#ff1493'];

Expand Down

0 comments on commit c7b896b

Please sign in to comment.