Skip to content

Commit

Permalink
se elimino un console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
daeduol committed Oct 1, 2024
1 parent 3f8bd13 commit 947be18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/i18n/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export function getLangFromUrl(url: URL) {

export function useTranslations(lang: keyof typeof ui) {
return function t(key: keyof (typeof ui)[typeof defaultLang]) {
console.log('Lang:', lang, 'Key:', key, 'Value:', ui[lang][key]);
return ui[lang][key] || ui[defaultLang][key];
};
}

0 comments on commit 947be18

Please sign in to comment.