Skip to content

Commit 824db64

Browse files
committed
refactor: update useTranslation import
1 parent a024e27 commit 824db64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/sections/communities/overview/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useSelector } from "@/hooks/useTypedSelector";
22
import Link from "next/link";
33
import { useRouter } from "next/router";
4-
import { useTranslation } from "react-i18next";
4+
import { useTranslation } from "next-i18next";
55

66
/**
77
* @interface SidebarProps

src/pages/communities/[slug]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { fetchCurrentCommunity } from "@/store/services/community.service";
1111
import { fetchAllChallenges } from "@/store/services/communities/challenges";
1212
import { NotFoundError } from "@/utilities/errors/NotFoundError";
1313
import { fetchAllScoreboards } from "@/store/services/communities/scoreboard.service";
14-
import { useTranslation } from "react-i18next";
14+
import { useTranslation } from "next-i18next";
1515

1616
export default function Slug(props: {
1717
pageProps: {

0 commit comments

Comments
 (0)