import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.jsx'
import { applyReduceMotion } from './lib/settings'
import './index.css'

applyReduceMotion()
// Bản cũ lưu phiên học sinh lâu dài trong localStorage; nay chuyển sang theo phiên trình duyệt
try { localStorage.removeItem('hm_student') } catch { /* bỏ qua */ }

createRoot(document.getElementById('root')).render(
  <StrictMode>
    <App />
  </StrictMode>,
)
