import React from 'react';
import {BrowserRouter as Router, Route, Routes} from 'react-router-dom';
import LoginForm from './Auth/Login';
import MainLayout from './Layout/MainLayout';

const App: React.FC = () => {
    return (
        <Router>
            <Routes>
                <Route path="/login" element={<LoginForm />}/>
                <Route path="/*" element={<MainLayout/>} />
            </Routes>
        </Router>
    );
};

export default App;