mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import { createRoot } from 'react-dom/client'
|
|
import { ErrorBoundary } from "react-error-boundary";
|
|
import "@github/spark/spark"
|
|
|
|
import App from './App.tsx'
|
|
import { ErrorFallback } from './ErrorFallback.tsx'
|
|
|
|
import "./main.css"
|
|
import "./styles/theme.css"
|
|
import "./index.css"
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
|
<App />
|
|
</ErrorBoundary>
|
|
)
|