Skip to content

Commit

Permalink
fix: add missing optional chaining operator, closes #167
Browse files Browse the repository at this point in the history
  • Loading branch information
nshenderov committed Oct 8, 2024
1 parent f36da65 commit 83706e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/utils/localStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const getPreferedLanguage = () => {
const language =
localStorage
.getItem(STORAGE_KEYS.PREFERED_LANGUAGE)
.replace(/^"|"$/g, '') || 'en';
?.replace(/^"|"$/g, '') || 'en';
return language;
};

Expand Down

0 comments on commit 83706e6

Please sign in to comment.