Skip to content

Commit

Permalink
EDSC-4280 linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-zamora committed Jan 8, 2025
1 parent a1415d8 commit 5822899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/src/js/util/facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const countSelectedFacets = (groupToCheck, startingValue = 0) => {
*/
export const getNormalizedFirstLetter = (title) => {
if (!title?.[0]) return null

const firstLetter = title[0].toUpperCase()

return isNumber(firstLetter) ? '#' : firstLetter
Expand Down

0 comments on commit 5822899

Please sign in to comment.