Upgrade to React 18 GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
14 lines
409 B
TypeScript
14 lines
409 B
TypeScript
import '../marketing'
|
|
|
|
import { createRoot } from 'react-dom/client'
|
|
import { CompromisedPasswordCard } from '../features/compromised-password/components/compromised-password-root'
|
|
|
|
const compromisedPasswordContainer = document.getElementById(
|
|
'compromised-password'
|
|
)
|
|
|
|
if (compromisedPasswordContainer) {
|
|
const root = createRoot(compromisedPasswordContainer)
|
|
root.render(<CompromisedPasswordCard />)
|
|
}
|