import {createBrowserRouter} from "react-router-dom";
import LoginView from "../pages/Login/LoginView";
import HomeView from "../pages/HomeView";

const router = createBrowserRouter([
    {
        path: "/login",
        element: <LoginView/>,
    },
    {
        path: "/",
        element: <HomeView/>,
    },
]);
export default router