From ac55dca368027ed95401b5855d122036cb096ae9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 14 Dec 2023 18:14:44 +0800 Subject: [PATCH] Update dashboard page --- src/Pages/DashboardPage/DashboardPage.tsx | 54 +---------------------- 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/src/Pages/DashboardPage/DashboardPage.tsx b/src/Pages/DashboardPage/DashboardPage.tsx index 0da0f53..70b0858 100644 --- a/src/Pages/DashboardPage/DashboardPage.tsx +++ b/src/Pages/DashboardPage/DashboardPage.tsx @@ -5,61 +5,9 @@ import TechnicianWidgets from "../../Components/DashboardPage/TechnicianWidgets" import TechnicianEquipmentButtons from "../../Components/DashboardPage/TechnicianEquipmentButtons"; import TechnicianLogButtons from "../../Components/DashboardPage/TechnicianLogButtons"; export default function Dashboard() { -<<<<<<< HEAD - const queries = useQueries({ - queries: [ - { - queryKey: ["equipments"], - queryFn: EquipmentsAPI, - }, - { - queryKey: ["equipment_instances"], - queryFn: EquipmentInstancesAPI, - }, - { - queryKey: ["user"], - queryFn: UserAPI, - }, - ], - }); - const isLoading = queries.some((result) => result.isLoading); - - const [addSKUmodalOpen, SetAddSKUModalOpen] = useState(false); - const [additemmodalOpen, SetAddItemModalOpen] = useState(false); - - if (isLoading) { - return ( -
-
-
- -

- Loading -

-
-
- ); - } -======= ->>>>>>> be6e1ba229d5ab71d64626e470d43ab9169f1758 return (
-
+