Skip to content

Commit 1071f8c

Browse files
committed
Fix documentation
1 parent ff0c668 commit 1071f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Translation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const i18nInstance = i18n.use(
165165
})
166166
);
167167

168-
export const useMyI18nProvider = useI18nextProvider({
168+
export const useMyI18nProvider = () => useI18nextProvider({
169169
i18nInstance,
170170
availableLocales: [
171171
{ locale: 'en', name: 'English' },

0 commit comments

Comments
 (0)