Rename map --> entity

This commit is contained in:
Alex Gleason 2022-03-10 20:40:04 -06:00
parent 75db92719d
commit ecaf726a19
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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);
});
};