diff --git a/apps/next/src/app/dashboard/test/[busId]/page.tsx b/apps/next/src/app/dashboard/test/[busId]/page.tsx index faa3d3d..67a610e 100644 --- a/apps/next/src/app/dashboard/test/[busId]/page.tsx +++ b/apps/next/src/app/dashboard/test/[busId]/page.tsx @@ -1,7 +1,5 @@ "use client"; -import { useEffect, useState } from "react"; - import { useBusLocationQuery } from "@ubus/mqtt"; interface BusLocationPageProps { @@ -11,14 +9,6 @@ interface BusLocationPageProps { } const BusLocationPage = (props: BusLocationPageProps) => { - const [mounted, setMounted] = useState(false); - - useEffect(() => { - setMounted(true); - }, []); - - if (!mounted) return null; - return (

Bus Location