mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 02:18:27 +00:00
Merge pull request #21897 from overleaf/jdt-assistant-events
Ai Error assistant events GitOrigin-RevId: c70e5cecbc220fdfc63512680a76616dbd631c86
This commit is contained in:
parent
76097d17c4
commit
8096cd2408
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ import { debugConsole } from '@/utils/debugging'
|
|||
import { postJSON } from '@/infrastructure/fetch-json'
|
||||
import Notification from '@/shared/components/notification'
|
||||
import { subscriptionUpdateUrl } from '@/features/subscription/data/subscription-url'
|
||||
import * as eventTracking from '@/infrastructure/event-tracking'
|
||||
|
||||
function PreviewSubscriptionChange() {
|
||||
const preview = getMeta('ol-subscriptionChangePreview')
|
||||
|
@ -19,6 +20,7 @@ function PreviewSubscriptionChange() {
|
|||
const location = useLocation()
|
||||
|
||||
const handlePayNowClick = useCallback(() => {
|
||||
eventTracking.sendMB('assistant-add-on-purchase')
|
||||
payNowTask
|
||||
.runAsync(payNow(preview))
|
||||
.then(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue