Skip to content

Commit

Permalink
Put confetti behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkchen committed Nov 12, 2023
1 parent d2e3475 commit ed9b142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/modals/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export const Modal: React.FC<ModalProps> = ({
};

useEffect(() => {
if (transactionAddress?.length) {
if (transactionAddress?.length && process.env.SHOW_CONFETTI === 'true') {
setShowConfetti(true);
setTimeout(() => {
setShowConfetti(false);
Expand Down

0 comments on commit ed9b142

Please sign in to comment.