Rename map --> entity
This commit is contained in:
parent
75db92719d
commit
ecaf726a19
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ const normalizeMentions = (status: ImmutableMap<string, any>) => {
|
|||
};
|
||||
|
||||
// Normalize emojis
|
||||
const normalizeEmojis = (map: ImmutableMap<string, any>) => {
|
||||
return map.update('emojis', ImmutableList(), emojis => {
|
||||
const normalizeEmojis = (entity: ImmutableMap<string, any>) => {
|
||||
return entity.update('emojis', ImmutableList(), emojis => {
|
||||
return emojis.map(EmojiRecord);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue