%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/really-simple-ssl/modal/src/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/really-simple-ssl/modal/src/index.js |
import { render, createRoot } from '@wordpress/element'; import DeactivationModal from "./components/DeactivationModal/DeactivationModal"; document.addEventListener( 'DOMContentLoaded', () => { const container = document.getElementById( 'rsssl-modal-root' ); if ( container ) { if ( createRoot ) { createRoot( container ).render( <DeactivationModal/> ); } else { render( <DeactivationModal/>, container ); } } });