import './setup'; import { Telemetry } from '@affine/core/components/telemetry'; import { bindNativeDBApis } from '@affine/nbstore/sqlite'; import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import { App } from './app'; import { NbStoreNativeDBApis } from './plugins/nbstore'; bindNativeDBApis(NbStoreNativeDBApis); function mountApp() { // oxlint-disable-next-line no-non-null-assertion const root = document.getElementById('app')!; createRoot(root).render( ); } try { mountApp(); } catch (err) { console.error('Failed to bootstrap app', err); }