import { type FC } from 'react'
import '@/assets/fonts/irancell/style.css'
import { BrowserRouter } from 'react-router-dom'
// import { getToken } from './config/func'
import MainRouter from './router/MainRouter'
// import AuthRouter from './router/AuthRouter'

const App: FC = () => {

  // const isLoggedIn = getToken()

  return (
    <BrowserRouter>
      {/* {isLoggedIn ? <MainRouter /> : <AuthRouter />} */}
      <MainRouter />
    </BrowserRouter>
  )
}

export default App