mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 13:53:44 +00:00
9daa8f5d98
[web] rename all the JSX files to .jsx/.tsx GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
8 lines
251 B
JavaScript
8 lines
251 B
JavaScript
import './base'
|
|
import ReactDOM from 'react-dom'
|
|
import Root from '../../../features/subscription/components/dashboard/root'
|
|
|
|
const element = document.getElementById('subscription-dashboard-root')
|
|
if (element) {
|
|
ReactDOM.render(<Root />, element)
|
|
}
|