mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
9 lines
302 B
TypeScript
9 lines
302 B
TypeScript
import ReactDOM from 'react-dom/client'
|
|
import TemplateGalleryRoot from '../features/template-gallery/components/template-gallery-root'
|
|
|
|
const element = document.getElementById('template-gallery-root')
|
|
if (element) {
|
|
const root = ReactDOM.createRoot(element)
|
|
root.render(<TemplateGalleryRoot />)
|
|
}
|