Skip to content

Commit

Permalink
chore: removed usage of lib in the translation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
devilkiller-ag committed Jan 31, 2025
1 parent a0e3fe7 commit 86b09fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ADDING_TRANSLATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Example:
`ICSFileButton.js`
```diff
...
+ import { useTranslation } from '../../lib/i18n';
+ import { useTranslation } from '../../utils/i18n';

export default function ICSFButton({
- text = 'Download ICS File',
Expand Down Expand Up @@ -186,7 +186,7 @@ After adding a new internationalized page, test it to sure the page is being ser
+ getAllLanguageSlugs,
+ getLanguage,
+ useTranslation
+ } from "../../lib/i18n";
+ } from "../../utils/i18n";
export default function NewsletterIndexPage() {
Expand Down

0 comments on commit 86b09fc

Please sign in to comment.