Files
TalkEdit/frontend/src/main.tsx

15 lines
468 B
TypeScript
Raw Normal View History

import React from 'react';
import ReactDOM from 'react-dom/client';
2026-03-30 18:36:41 -06:00
// Forward console.error/warn/log to backend in dev mode so we can tail webview.log
import './lib/dev-logger';
2026-03-25 01:22:30 -06:00
// Must be imported before App so window.electronAPI is patched before any component runs.
import './lib/tauri-bridge';
import App from './App';
import './index.css';
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);