/**
 * Shois Chat Button — Admin Entry Point
 *
 * Mounts the React admin application.
 *
 * @package ShoisChatButton
 */
import { createRoot } from '@wordpress/element';
import App from './App';
import './app.css';
import './editor.css';
import './agents.css';
import './analytics.css';

const container = document.getElementById('shcb-admin-root');

if (container) {
	const root = createRoot(container);
	root.render(<App />);
}
