import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { TooltipProvider } from '@/components/ui/tooltip'
import './index.css'
import TeamFoundationRoot from './TeamFoundationRoot'
import { applyStoredThemeMode } from './lib/themeMode'

applyStoredThemeMode(document, window.localStorage)

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <TooltipProvider>
      <TeamFoundationRoot />
    </TooltipProvider>
  </StrictMode>,
)
