import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import { App } from './app/App'; import { BenchApp } from './bench/BenchApp'; import { PromptMatrixApp } from './bench/PromptMatrixApp'; import { isBenchRoute, isPromptMatrixRoute } from './bench/route'; import './app/styles.css'; const root = document.getElementById('root'); if (!root) { throw new Error('Bonsai shell root element is missing'); } createRoot(root).render( {isPromptMatrixRoute(window.location) ? : isBenchRoute(window.location) ? : } , );