Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unused TranslationMessage #8223

Merged
merged 1 commit into from Oct 2, 2022
Merged

Fix unused TranslationMessage #8223

merged 1 commit into from Oct 2, 2022

Conversation

bicstone
Copy link
Contributor

@bicstone bicstone commented Oct 2, 2022

I noticed that ra.configurable.templateError was added in version 4.4.0 but is unused.
It seems that they deleted translate(ra.configurable.templateError, ...) when changed to translate instead of lodash.

c4a6ac6#diff-be8dc1889be155c57e45c5b1e0d96f8f05466f57a969429ef5cd766baedcde9aL22-L24
(deleted /packages/ra-core/src/preferences/useRenderTemplate.ts)

Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@fzaninotto fzaninotto merged commit 0bde64d into marmelab:master Oct 2, 2022
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 4.4.1 milestone Oct 2, 2022
@fzaninotto fzaninotto changed the title Remove unused TranslationMessage Fix unused TranslationMessage Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants