Skip to content

Commit

Permalink
Merge pull request #3838 from mozilla/MNTOR-2616-confetti-csp
Browse files Browse the repository at this point in the history
Do not use worker for confetti
  • Loading branch information
flozia authored Aug 21, 2024
2 parents 8284126 + 364f83e commit e701af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/client/Confetti.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Confetti = () => {
if (canvasRef.current) {
confetti = create(canvasRef.current, {
resize: true,
useWorker: true,
useWorker: false,
});

// Confetti options: https://github.com/catdad/canvas-confetti#options
Expand Down

0 comments on commit e701af7

Please sign in to comment.