Make unicode emoji phrases match with _
This commit is contained in:
parent
de2c7b760f
commit
0445d7c882
|
@ -190,7 +190,7 @@ const instance = {
|
||||||
const values = await res.json()
|
const values = await res.json()
|
||||||
const emoji = Object.keys(values).reduce((res, groupId) => {
|
const emoji = Object.keys(values).reduce((res, groupId) => {
|
||||||
res[groupId] = values[groupId].map(e => ({
|
res[groupId] = values[groupId].map(e => ({
|
||||||
displayText: e.name,
|
displayText: e.slug,
|
||||||
imageUrl: false,
|
imageUrl: false,
|
||||||
replacement: e.emoji
|
replacement: e.emoji
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue