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

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

export default router