Implement Hotel Management module
This commit is contained in:
@@ -32,6 +32,7 @@ import Profile from "./pages/dashboard/Profile";
|
||||
import Settings from "./pages/dashboard/Settings";
|
||||
import Invoices from "./pages/dashboard/Invoices";
|
||||
import InvoiceDetail from "./pages/dashboard/InvoiceDetail";
|
||||
import HotelManagement from "./pages/dashboard/HotelManagement";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
@@ -239,6 +240,14 @@ const AppRouter = () => (
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
<Route path="/dashboard/hotel-management" element={
|
||||
<ProtectedRoute>
|
||||
<DashboardLayout>
|
||||
<HotelManagement />
|
||||
</DashboardLayout>
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
{/* Catch-all route */}
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user