chore: format

This commit is contained in:
Timothy J. Baek
2024-08-13 11:12:35 +01:00
parent 70f580ec45
commit 7ef5aa520c
24 changed files with 160 additions and 143 deletions
+2 -2
View File
@@ -227,7 +227,7 @@ export const generateInitialsImage = (name) => {
const initials =
sanitizedName.length > 0
? sanitizedName[0] +
(sanitizedName.split(' ').length > 1
(sanitizedName.split(' ').length > 1
? sanitizedName[sanitizedName.lastIndexOf(' ') + 1]
: '')
: '';
@@ -286,7 +286,7 @@ export const compareVersion = (latest, current) => {
numeric: true,
sensitivity: 'case',
caseFirst: 'upper'
}) < 0;
}) < 0;
};
export const findWordIndices = (text) => {