/** @format */ import React from 'react'; import { createRoot } from 'react-dom/client'; import { Toaster } from 'react-hot-toast'; import { BoxDialer } from './lib/boxDIaler'; import Root from './root'; import './index.css'; import ControlRenderBX from './lib/controlRenderBX'; window.BoxDialer = new BoxDialer(); const container = document.getElementById('boxdialerwidjet'); const root = createRoot(container); root.render( <React.StrictMode> <Toaster /> {/* {controlRenderBX({ rootComponent: <Root /> })} */} {/* <Root /> */} <ControlRenderBX /> </React.StrictMode>, );