Skip to content

Commit 53f40c2

Browse files
Testing...
1 parent 57cb47d commit 53f40c2

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

components/CelebrationModal.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ export const CelebrationModal: React.FC<ModalProps> = ({ isOpen, onClose }) => {
1818
}, [isOpen]);
1919

2020
const handleShare = () => {
21-
// Tell parent to show the referral iframe
22-
const url = 'https://tab.gladly.io/v5/referral?user_id=woots';
23-
window.parent.postMessage({
24-
show: true,
25-
iframe: url,
26-
height: document.body.scrollHeight,
27-
slot: 'modal-center',
28-
version: 'Version0',
29-
notification: '2m-reached-dec-2025'
30-
}, '*');
21+
alert("Share functionality is not implemented in this demo.");
22+
// // Tell parent to show the referral iframe
23+
// const url = 'https://tab.gladly.io/v5/referral?user_id=woots';
24+
// window.parent.postMessage({
25+
// show: true,
26+
// iframe: url,
27+
// height: document.body.scrollHeight,
28+
// slot: 'modal-center',
29+
// version: 'Version0',
30+
// notification: '2m-reached-dec-2025'
31+
// }, '*');
3132
};
3233

3334
// Smoother, less "bouncy" entrance for a more professional feel

0 commit comments

Comments
 (0)