We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06d3645 commit 80f7c39Copy full SHA for 80f7c39
src/Components/shared/Link.tsx
@@ -1,7 +1,7 @@
1
import { CurrentPage } from "@/Utils/CurrentPage";
2
import AnchorLink from "react-anchor-link-smooth-scroll";
3
-import { useContext } from "react";
4
-import closeNavbar from "@/Context/CloseNavbar";
+// import { useContext } from "react";
+// import closeNavbar from "@/Context/CloseNavbar";
5
6
type Props = {
7
page: string;
@@ -10,7 +10,7 @@ type Props = {
10
};
11
12
const Link = ({ page, currentPage, setCurrentPage }: Props) => {
13
- const closeNavbarContext = useContext(closeNavbar);
+ // const closeNavbarContext = useContext(closeNavbar);
14
15
let hrefId = page.toLowerCase().replace(/ /g, "") as CurrentPage;
16
0 commit comments