diff --git a/src/app/page.tsx b/src/app/page.tsx index b1ac86b..936b634 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,6 @@ import { useState, useEffect } from "react"; import Link from "next/link"; -import { useRouter } from "next/navigation"; const OFFLINE_QUEUE_KEY = "tia_offline_queue"; @@ -174,7 +173,6 @@ function getGreeting() { } export default function HomePage() { - const router = useRouter(); const [modalType, setModalType] = useState<"feed" | "diaper" | "sleep" | null>(null); const [childId] = useState("5ad3b16a-1e0d-45ab-bc91-038397d75d0a"); const [pendingCount, setPendingCount] = useState(0); @@ -209,18 +207,22 @@ export default function HomePage() { }, [childId]); return ( -