fix(705): removed unused

This commit is contained in:
Pontus Dreij
2024-11-29 17:04:39 +01:00
parent 89c131e3eb
commit 47d6f87529
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
"use client"
import { usePathname, useSearchParams } from "next/navigation"
import { usePathname } from "next/navigation"
import { useIntl } from "react-intl"
import { Lang, languages } from "@/constants/languages"
@@ -21,7 +21,6 @@ export default function LanguageSwitcherContent({
urls,
onLanguageSwitch,
}: LanguageSwitcherContentProps) {
console.log(urls)
const intl = useIntl()
const currentLanguage = useLang()

View File

@@ -1,6 +1,6 @@
"use client"
import { Suspense, useRef } from "react"
import { useRef } from "react"
import { useIntl } from "react-intl"
import { languages } from "@/constants/languages"