LightRAG/lightrag_webui/src/components/Root.tsx
yangdx 2d9334d35f Simplify Root component by removing async i18n initialization
• Remove useState and useEffect hooks
• Import i18n directly instead of async init
• Eliminate loading state check
2025-10-12 01:17:37 +08:00

9 lines
149 B
TypeScript

import { StrictMode } from 'react'
import App from '@/App'
import '@/i18n'
export const Root = () => (
<StrictMode>
<App />
</StrictMode>
)