Migrate B2C jsx to tsx: algolia-search and subscriptions GitOrigin-RevId: 917036ce6baf8130d2b10b46efa649f015b84576
10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
import './base'
|
|
import { createRoot } from 'react-dom/client'
|
|
import Root from '../../../features/subscription/components/dashboard/root'
|
|
|
|
const element = document.getElementById('subscription-dashboard-root')
|
|
if (element) {
|
|
const root = createRoot(element)
|
|
root.render(<Root />)
|
|
}
|