fix navbar naming
This commit is contained in:
@@ -12,7 +12,7 @@ import { FaBars } from "react-icons/fa";
|
|||||||
import { IconContext } from "react-icons/lib";
|
import { IconContext } from "react-icons/lib";
|
||||||
import { animateScroll as scroll } from "react-scroll";
|
import { animateScroll as scroll } from "react-scroll";
|
||||||
|
|
||||||
export default function NavBar({ toggle }) {
|
export default function Navbar({ toggle }) {
|
||||||
const [scrollNav, setScrollNav] = useState(false);
|
const [scrollNav, setScrollNav] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import HeroSection from "@/components/HeroSection";
|
|||||||
import InstructorsSection from "@/components/Instructors";
|
import InstructorsSection from "@/components/Instructors";
|
||||||
import MediaSection from "@/components/Media";
|
import MediaSection from "@/components/Media";
|
||||||
import MoreSection from "@/components/More";
|
import MoreSection from "@/components/More";
|
||||||
import Navbar from "@/components/NavBar";
|
import Navbar from "@/components/Navbar";
|
||||||
import NotebookSection from "@/components/Notebooks";
|
import NotebookSection from "@/components/Notebooks";
|
||||||
import Sidebar from "@/components/Sidebar";
|
import Sidebar from "@/components/Sidebar";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
|
|||||||
Reference in New Issue
Block a user