import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import '@/styles/globals.css'
import { App } from '@/App'
import { useMetaStore } from '@/state/metaStore'
import { useSettingsStore } from '@/state/settingsStore'

useMetaStore.getState().load()
useSettingsStore.getState().load()

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