Skip to content

Commit c523a67

Browse files
authored
docs: Fix typo (#1033 by @joefreeman)
1 parent 398737f commit c523a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/docs/usage/messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ For edge cases where the reuse of messages among different components is hard to
102102

103103
```tsx filename="useLocaleLabel.tsx"
104104
export default function useLocaleLabel() {
105-
const t = useLocaleLabel('useLocaleLabel');
105+
const t = useTranslations('useLocaleLabel');
106106

107107
function getLocaleLabel(locale: 'en' | 'de') {
108108
return t('label', {locale});

0 commit comments

Comments
 (0)