typo in comment

lolsob-rspec
Ondřej Hruška 2017-09-20 21:28:44 +02:00
parent 4ac158f1d3
commit 82dc98f91c
1 changed files with 2 additions and 2 deletions

View File

@ -230,9 +230,9 @@ export function fetchComposeSuggestions(token) {
}); });
}; };
} else if (leading === ':') { } else if (leading === ':') {
// mojos // shortcode
let allShortcodes = Object.keys(emojione.emojioneList); let allShortcodes = Object.keys(emojione.emojioneList);
// TODO when we have custom emojons merged, add theme to this shortcode list // TODO when we have custom emojons merged, add them to this shortcode list
return (dispatch) => { return (dispatch) => {
dispatch(readyComposeSuggestionsTxt(token, allShortcodes.filter((sc) => { dispatch(readyComposeSuggestionsTxt(token, allShortcodes.filter((sc) => {
return sc.indexOf(token) === 0; return sc.indexOf(token) === 0;