text: // Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  import {createSelector} from 'reselect';
  import {getCustomEmojisByName} from 'mattermost-redux/selectors/entities/emojis';
  
  import {EmojiMap} from 'stores/emoji_store.jsx';
  
  export const getEmojiMap = createSelector(
      getCustomEmojisByName,
      (customEmojisByName) => {
          return new EmojiMap(customEmojisByName);
      }
  );
  