Skip to content

Commit

Permalink
Fix not showing custom emojis in share page emoji picker (mastodon#9970)
Browse files Browse the repository at this point in the history
  • Loading branch information
rinsuki authored and Gargron committed Feb 4, 2019
1 parent cb5bcac commit 8a41501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/javascript/mastodon/containers/compose_container.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { IntlProvider, addLocaleData } from 'react-intl';
import { getLocale } from '../locales';
import Compose from '../features/standalone/compose';
import initialState from '../initial_state';
import { fetchCustomEmojis } from '../actions/custom_emojis';

const { localeData, messages } = getLocale();
addLocaleData(localeData);
Expand All @@ -17,6 +18,8 @@ if (initialState) {
store.dispatch(hydrateStore(initialState));
}

store.dispatch(fetchCustomEmojis());

export default class TimelineContainer extends React.PureComponent {

static propTypes = {
Expand Down

0 comments on commit 8a41501

Please sign in to comment.