Skip to content

Commit

Permalink
Update src/utils/functions.js
Browse files Browse the repository at this point in the history
Co-authored-by: Livia Medeiros <[email protected]>
  • Loading branch information
NeloBlivion and LiviaMedeiros authored Nov 14, 2023
1 parent 3f2bc07 commit 11fa77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function getLang(weblang) {
}

export function getYTLangFromState(state) {
const lang = state.settings.lang;
const { lang } = state.settings;
return langConversion[lang] || lang.split("-")[0].toLowerCase();
}

Expand Down

0 comments on commit 11fa77f

Please sign in to comment.