import {Routes, Route} from "react-router-dom"; import {createBrowserHistory} from "history"; import LoginView from "../pages/login/LoginView"; import HomeView from "../pages/HomeView"; import InvoiceListView from "../pages/Invoice/mine/InvoiceListView"; import MyReimbursement from "../pages/reimbursement/mine/MyReimbursement"; import {BrowserRouter} from "./BrowserRouter" import InvoiceManagement from "../pages/Invoice/management/InvoiceManagement"; import ReimbursementApproval from "../pages/reimbursement/approval/ReimbursementApproval"; import StatView from "../pages/stat/StatView"; export const history = createBrowserHistory() function CustomRouter() { return ( }> }> }> }> }> }> }> ) } export default CustomRouter