mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Convert utility functions to TypeScript (#22658)
* Convert event-tracking to TypeScript * Convert local-storage to TypeScript * Convert mapSeries to TypeScript * Convert SessionStorage to TypeScript * Convert account-upgrade to TypeScript * Convert isValidTeXFile to TypeScript * Convert date functions to TypeScript * Convert EventEmitter to TypeScript * Convert isNetworkError to TypeScript * Convert webpack-public-path to TypeScript * Convert displayNameForUser to TypeScript GitOrigin-RevId: 79c5a2d1101fcd520f3116f0f4af29d974189d94
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { MouseEventHandler, useCallback, useEffect } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { startFreeTrial } from '../../main/account-upgrade'
|
||||
import { startFreeTrial } from '@/main/account-upgrade'
|
||||
import * as eventTracking from '../../infrastructure/event-tracking'
|
||||
import OLButton from '@/features/ui/components/ol/ol-button'
|
||||
|
||||
@@ -41,7 +41,7 @@ export default function StartFreeTrialButton({
|
||||
handleClick(event)
|
||||
}
|
||||
|
||||
startFreeTrial(source, null, null, variant)
|
||||
startFreeTrial(source, variant)
|
||||
},
|
||||
[handleClick, source, variant]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user