docs: add JSDoc to useDebounce hook

This commit is contained in:
2026-05-01 17:33:20 +05:30
parent 316b71827f
commit 5f78ab02a9
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@ const NAV_LINKS = [
{ label: "About", to: "/about" },
];
/**
* Site navigation bar with responsive menu.
*/
export default function Navbar() {
const [open, setOpen] = useState(false);
const { pathname } = useLocation();