Skip to content

Commit ac6a70d

Browse files
committed
replace react-i18next with next-i18next to fix hydration issues
1 parent c738a39 commit ac6a70d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/EventCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
22
import { useRouter } from "next/router"
3-
import { useTranslation } from "react-i18next"
3+
import { useTranslation } from "next-i18next"
44
import { BsCalendar3 } from "react-icons/bs"
55
import { Box, Flex, Heading, Icon } from "@chakra-ui/react"
66
import { Image } from "@chakra-ui/react"

src/components/LanguagePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useRouter } from "next/router"
2-
import { useTranslation } from "react-i18next"
2+
import { useTranslation } from "next-i18next"
33

44
import { BaseLink } from "@/components/Link"
55

src/components/Search/SearchButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react"
2-
import { useTranslation } from "react-i18next"
2+
import { useTranslation } from "next-i18next"
33
import { DocSearchButton } from "@docsearch/react"
44

55
import { Button, type ButtonProps } from "../ui/buttons/Button"

0 commit comments

Comments
 (0)