/ chandeskpro / src / main.tsx
swadhinbiswas Initial release v0.1.0 · 1/16/2026
ed7a4e4
19 lines · 419 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './index.css'

console.log('main.tsx loading...')

const root = document.getElementById('root')
if (root) {
    createRoot(root).render(
        <StrictMode>
            <App />
        </StrictMode>
    )
    console.log('✅ React app mounted')
} else {
    console.error('❌ Root element not found!')
}