fix: consolidate @/lib/routes imports
This commit is contained in:
@@ -6,11 +6,10 @@ import Image from "next/image"
|
|||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
import { useEffect, useRef, useState } from "react"
|
import { useEffect, useRef, useState } from "react"
|
||||||
import { Bookmark, CircleXIcon, Gamepad2Icon, LogOut, MenuIcon, User, XIcon } from "lucide-react"
|
import { Bookmark, CircleXIcon, Gamepad2Icon, LogOut, MenuIcon, User, XIcon } from "lucide-react"
|
||||||
import { routes } from "@/lib/routes"
|
import { routes, authRoutes } from "@/lib/routes"
|
||||||
import { usePathname, useRouter, useSearchParams } from "next/navigation"
|
import { usePathname, useRouter, useSearchParams } from "next/navigation"
|
||||||
import { useDebounce } from "@/lib/hooks/useDebounce"
|
import { useDebounce } from "@/lib/hooks/useDebounce"
|
||||||
import { authClient, useSession } from "@/lib/auth-client"
|
import { authClient, useSession } from "@/lib/auth-client"
|
||||||
import { authRoutes } from "@/lib/routes"
|
|
||||||
|
|
||||||
export default function Navbar() {
|
export default function Navbar() {
|
||||||
const pathname = usePathname()
|
const pathname = usePathname()
|
||||||
|
|||||||
Reference in New Issue
Block a user