Fix categorised custom emojis missing from the emoji picker (#39421)

Signed-off-by: Hanage999 <hanage999@crazynewworld.net>
This commit is contained in:
Hanage999 2026-06-15 19:31:16 +09:00 committed by Claire
parent 01d03d67a8
commit bdfbc6b3a6

View File

@ -103,7 +103,9 @@ const selectPickerData = createAppSelector(
categories: [ categories: [
'recent', 'recent',
'custom', 'custom',
...Object.keys(categories).toSorted(), ...Object.keys(categories)
.toSorted()
.map((category) => `custom-${category}`),
...defaultCategories, ...defaultCategories,
] as CategoryName[], ] as CategoryName[],
}; };