overleaf/services/web/frontend/js/pages/user/subscription/successful-subscription.js

9 lines
263 B
JavaScript
Raw Normal View History

import './base'
import ReactDOM from 'react-dom'
import Root from '../../../features/subscription/components/successful-subscription/root'
const element = document.getElementById('subscription-success-root')
if (element) {
ReactDOM.render(<Root />, element)
}