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 -
-