fix public web
This commit is contained in:
@@ -25,14 +25,14 @@ export function JoinWaitlistHero({ className }: JoinWaitlistProps) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (open) {
|
if (open) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.openpanel.event('waitlist_open');
|
window.op('event', 'waitlist_open');
|
||||||
}
|
}
|
||||||
}, [open]);
|
}, [open]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (success) {
|
if (success) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.openpanel.event('waitlist_success', {
|
window.op('event', 'waitlist_success', {
|
||||||
email: value,
|
email: value,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export function JoinWaitlist({ className }: JoinWaitlistProps) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (open) {
|
if (open) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.openpanel.event('waitlist_success');
|
window.op('event', 'waitlist_success');
|
||||||
}
|
}
|
||||||
}, [open]);
|
}, [open]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user