import ReactDOM from 'react-dom' ; import { Body } from '@cloudbeaver/core-app' ; import { ErrorBoundary } from '@cloudbeaver/core-blocks' ; import { AppContext , IServiceInjector } from '@cloudbeaver/core-di' ; export function renderLayout ( serviceInjector ) { ReactDOM . render ( < ErrorBoundary root > < AppContext app = { serviceInjector } > < Body /> < /AppContext> < /ErrorBoundary>, document.getElementById('root')); }