Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram committed Jan 28, 2025
1 parent ec87991 commit 10022bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/acf-i18n/src/translate-message.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TranslateMessage extends TranslateCommon {

for (const key in obj) {
const value = obj[key];
let targetValue = targetJson?.[key];
const targetValue = targetJson?.[key];
if (typeof value === 'string' && key === 'message') {
translatedObject[key] = await this.translateStringValue(value, targetValue, targetLanguage);
} else if (typeof value === 'object') {
Expand Down

0 comments on commit 10022bf

Please sign in to comment.