Files
cv/src/main.tsx
T

15 lines
434 B
TypeScript
Raw Normal View History

2026-10-06 19:29:13 +07:00
import { motion } from 'motion/react'
2026-10-04 09:34:55 +07:00
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
2026-10-06 19:29:13 +07:00
// motion v14 has motion.config for reducedMotion but TS types don't expose it
const motionWithConfig = motion as any
motionWithConfig.config.reducedMotion = 'user'
2026-10-04 09:34:55 +07:00
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
)