Skip to content

Commit 7121158

Browse files
committed
fix: typo
1 parent bf14aef commit 7121158

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/EnhancedPromotionModal/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ const EnhancedPromotionModal: React.FC = () => {
2525

2626
const handleTryNow = () => {
2727
track('promotion_event', {
28-
from: 'enhanced_promotion_modal',
28+
from: 'promotion_modal',
2929
action: 'open',
30+
action_detail: 'promotion_modal_open',
3031
})
3132
setHasSeenPromotion(true)
3233
// setIsOpen(false)
@@ -36,8 +37,9 @@ const EnhancedPromotionModal: React.FC = () => {
3637

3738
const handleDismiss = () => {
3839
track('promotion_event', {
39-
from: 'enhanced_promotion_modal',
40+
from: 'promotion_modal',
4041
action: 'close',
42+
action_detail: 'promotion_modal_close',
4143
})
4244
setHasSeenPromotion(true)
4345
setIsOpen(false)

src/pages/Gallery-N/DictRequest.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default function DictRequest() {
1111
track('promotion_event', {
1212
from: 'dict_request_button',
1313
action: 'open',
14+
action_detail: 'dict_request_button_open',
1415
})
1516
}, [])
1617

@@ -19,6 +20,7 @@ export default function DictRequest() {
1920
track('promotion_event', {
2021
from: 'dict_request_panel',
2122
action: 'close',
23+
action_detail: 'dict_request_panel_close',
2224
})
2325
}, [])
2426

0 commit comments

Comments
 (0)