mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 14:29:04 +08:00
fix: typo
This commit is contained in:
@@ -25,8 +25,9 @@ const EnhancedPromotionModal: React.FC = () => {
|
||||
|
||||
const handleTryNow = () => {
|
||||
track('promotion_event', {
|
||||
from: 'enhanced_promotion_modal',
|
||||
from: 'promotion_modal',
|
||||
action: 'open',
|
||||
action_detail: 'promotion_modal_open',
|
||||
})
|
||||
setHasSeenPromotion(true)
|
||||
// setIsOpen(false)
|
||||
@@ -36,8 +37,9 @@ const EnhancedPromotionModal: React.FC = () => {
|
||||
|
||||
const handleDismiss = () => {
|
||||
track('promotion_event', {
|
||||
from: 'enhanced_promotion_modal',
|
||||
from: 'promotion_modal',
|
||||
action: 'close',
|
||||
action_detail: 'promotion_modal_close',
|
||||
})
|
||||
setHasSeenPromotion(true)
|
||||
setIsOpen(false)
|
||||
|
||||
@@ -11,6 +11,7 @@ export default function DictRequest() {
|
||||
track('promotion_event', {
|
||||
from: 'dict_request_button',
|
||||
action: 'open',
|
||||
action_detail: 'dict_request_button_open',
|
||||
})
|
||||
}, [])
|
||||
|
||||
@@ -19,6 +20,7 @@ export default function DictRequest() {
|
||||
track('promotion_event', {
|
||||
from: 'dict_request_panel',
|
||||
action: 'close',
|
||||
action_detail: 'dict_request_panel_close',
|
||||
})
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user