mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
typo in comment
This commit is contained in:
parent
3783062450
commit
8c0733a14e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user