import React, { useState, Suspense, lazy } from 'react'; import { HashRouter as Router, Route, Switch } from 'react-router-dom'; import 'bootstrap/dist/css/bootstrap.min.css'; import './fonts/stylesheet.css'; // const AuthPageForDevelopers = lazy(() => import('./pages/AuthPageForDevelopers')); // const AuthPageForPartners = lazy(() => import('./pages/AuthPageForPartners')); const HomePage = lazy(() => import('./pages/HomePage')); const CandidatePage = lazy(() => import('./pages/CandidatePage')); const CalendarPage = lazy(() => import('./pages/CalendarPage')); const App = () => { const [isAuth, setIsAuth] = useState(false); return ( Loading...}> {isAuth ? (
Not found page
) : ( {/* */} {/* */} )}
); }; export default App;