Skip to content

Commit

Permalink
docs: update README.md typo (#2233)
Browse files Browse the repository at this point in the history
  • Loading branch information
diogoparente committed Nov 26, 2023
1 parent eafe8d1 commit 914d0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The `serverSideTranslations` HOC is primarily responsible for passing translatio

This is the hook which you'll actually use to do the translation itself. The `useTranslation` hook [comes from `react-i18next`](https://react.i18next.com/latest/usetranslation-hook), but needs to be imported from `next-i18next` directly.
<br/>
**Do NOT use the `useTranslation` export of `react-i18next`, but ONLY use the on of `next-i18next`!**
**Do NOT use the `useTranslation` export of `react-i18next`, but ONLY use the one from `next-i18next`!**

```tsx
import { useTranslation } from 'next-i18next'
Expand Down

0 comments on commit 914d0db

Please sign in to comment.