Skip to content

Commit

Permalink
Fixed Lintingg of Navbar component and removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
noobpiyush committed Nov 26, 2024
1 parent 1688b2a commit d8ad9bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { motion, AnimatePresence } from 'framer-motion';
import { useSession } from 'next-auth/react';
import { usePathname, useRouter } from 'next/navigation';
import { usePathname } from 'next/navigation';
import React, { useState, useCallback, useMemo, useEffect } from 'react';
import Link from 'next/link';
import { ArrowLeft, Menu, Search, X } from 'lucide-react';
Expand All @@ -17,7 +17,6 @@ const scrollPositions = new Map<string, number>();

export const Navbar = () => {
const { data: session } = useSession();
const router = useRouter();
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [isSearchOpen, setIsSearchOpen] = useState(false);
const pathname = usePathname();
Expand Down

0 comments on commit d8ad9bf

Please sign in to comment.