diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 3dcf65e..45c4fa2 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -74,6 +74,7 @@ function Navbar() { }, [shouldFocusInput]); const fetchLinks = async () => { + if (links.length > 0) return; try { const res = await pb.collection("categories").getFullList({ expand: "items",