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