Skip to content

Commit

Permalink
fix-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
devchn committed Nov 2, 2021
1 parent 1eb6098 commit 853e221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useTranslation.ts
Expand Up @@ -58,7 +58,7 @@ export const translate = (
fallbackLanguage: Language,
): string => {
console.log("key!!!", key);
if (key.endsWith("brands")) {
if (key === "brands.Caspani Tino") {
console.log(
"translation!!!",
getTranslation(translationMap, lang, key, params) ??
Expand Down

0 comments on commit 853e221

Please sign in to comment.