more low-hanging fruits
This commit is contained in:
parent
4f82709bf2
commit
b2dca4a3f6
20 changed files with 45 additions and 45 deletions
|
|
@ -231,7 +231,7 @@ export const useEmojiStore = defineStore('emoji', {
|
|||
.then((allPacks) => {
|
||||
// Sort by key
|
||||
return Object.keys(allPacks)
|
||||
.sort()
|
||||
.sort((a, b) => a.localeCompare(b))
|
||||
.reduce((acc, key) => {
|
||||
if (key.length === 0) return acc
|
||||
acc[key] = allPacks[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue