Research-Stack/3-Mathematical-Models/bezier-kit/examples/canvas-morph/src/main.tsx

12 lines
273 B
TypeScript

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { App } from './App'
const root = document.getElementById('root')
if (!root) throw new Error('#root not found')
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
)