Add default ErrorBoundary with iframe postMessage to template.

This commit is contained in:
Chad Curtis committed 2025-07-17 17:18:58 +00:00
1 parent c5dabfdb3a
commit d17fc5ddd7
3 files changed
+239 -1

No files matched your search

+6 -1
View File
@@ -3,10 +3,15 @@ import { createRoot } from 'react-dom/client';
// Import polyfills first
import './lib/polyfills.ts';
import { ErrorBoundary } from '@/components/ErrorBoundary';
import App from './App.tsx';
import './index.css';
// FIXME: a custom font should be used. Eg:
// import '@fontsource-variable/<font-name>';
createRoot(document.getElementById("root")!).render(<App />);
createRoot(document.getElementById("root")!).render(
<ErrorBoundary>
<App />
</ErrorBoundary>
);