overleaf/services/web/frontend/js/pages/user/subscription/preview-change.tsx

9 lines
309 B
TypeScript
Raw Normal View History

import '@/marketing'
import ReactDOM from 'react-dom'
import PreviewSubscriptionChange from '@/features/subscription/components/preview-subscription-change/root'
const element = document.getElementById('subscription-preview-change')
if (element) {
ReactDOM.render(<PreviewSubscriptionChange />, element)
}