We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Name this file with .ts extension (configured with JavascriptLexer) and the keyPrefix is ignored, if you use JsxLexer instead, it's works
export default function useArticlesFilter() { const { t } = useTranslation('filters', { keyPrefix: 'articles' }); return useMemo(() => { return { menuTitle: t('menu'), badge: { Component: ArticlesBadge, }, panel: { Component: ArticlesPanel, query: ArticlesPanelQuery, }, }; }, [t]); }
Keyprefix should not be ignored
The text was updated successfully, but these errors were encountered:
I can confirm this behaviour
I could try and look into it but someone with more knowledge of the project would be more efficient I guess
hope this can be addressed
thanks
Sorry, something went wrong.
@thomasmery You are welcome to have a look. Thanks!
Successfully merging a pull request may close this issue.
To Reproduce
Name this file with .ts extension (configured with JavascriptLexer) and the keyPrefix is ignored, if you use JsxLexer instead, it's works
Expected behavior
Keyprefix should not be ignored
The text was updated successfully, but these errors were encountered: