diff --git a/public/service-worker.js b/public/service-worker.js index 32463af..6e0b352 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -1,8 +1,8 @@ const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1"; if (!isLocalhost) { - const STATIC_CACHE = "construction-delivery-static-v3"; - const RUNTIME_CACHE = "construction-delivery-runtime-v3"; + const STATIC_CACHE = "construction-delivery-static-v4"; + const RUNTIME_CACHE = "construction-delivery-runtime-v4"; const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.svg", "/icons/icon-512.svg"]; self.addEventListener("install", (event) => { diff --git a/src/pages/DashboardPage.jsx b/src/pages/DashboardPage.jsx index 604d930..b66c750 100644 --- a/src/pages/DashboardPage.jsx +++ b/src/pages/DashboardPage.jsx @@ -3,7 +3,7 @@ import { Navigate, useNavigate } from "react-router-dom"; import { DriverDeliveryPlanner } from "../components/driver/DriverDeliveryPlanner"; import { LogisticsReadinessBoard } from "../components/logistics/LogisticsReadinessBoard"; import { OrdersTable } from "../components/orders/OrdersTable"; -import AdminDashboard from "../components/admin/AdminDashboard"; +import { AdminDashboard } from "../components/admin/AdminDashboard"; import UserManagementPanel from "../components/admin/UserManagementPanel"; import ErrorLogPanel from "../components/admin/ErrorLogPanel"; import { Panel } from "../components/UI/Panel";