Skip to content

Commit

Permalink
EPMGCIP-171: Remove unused locale hook in "Header" component
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzmitry-Yaniuk committed Nov 23, 2024
1 parent 406b068 commit 8bd1795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/organisms/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { useLocale, useTranslations } from "next-intl";
import { useTranslations } from "next-intl";
import Image from "next/image";
import styles from "./Header.module.scss";
import LanguageSwitcher from "@/components/molecules/LanguageSwitcher/LanguageSwitcher";
Expand All @@ -10,7 +10,6 @@ import { baseUrl } from "@/constants/routes";

export default function Header() {
const router = useRouter();
const locale = useLocale();
const t = useTranslations();

const onClickLogo = (): void => {
Expand Down

0 comments on commit 8bd1795

Please sign in to comment.