import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './Frontend.jsx'; import './index.css'; const rootElement = document.getElementById('wp-ai-chat-root'); if (rootElement) { ReactDOM.createRoot(rootElement).render( ); }