mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-24 23:29:30 -05:00
Fix /share not using server-set characters limit (#33459)
This commit is contained in:
parent
3e04f1a1b2
commit
d2f8a38887
|
|
@ -3,18 +3,19 @@ import { PureComponent } from 'react';
|
|||
import { Provider } from 'react-redux';
|
||||
|
||||
import { fetchCustomEmojis } from '../actions/custom_emojis';
|
||||
import { fetchServer } from '../actions/server';
|
||||
import { hydrateStore } from '../actions/store';
|
||||
import Compose from '../features/standalone/compose';
|
||||
import initialState from '../initial_state';
|
||||
import { IntlProvider } from '../locales';
|
||||
import { store } from '../store';
|
||||
|
||||
|
||||
if (initialState) {
|
||||
store.dispatch(hydrateStore(initialState));
|
||||
}
|
||||
|
||||
store.dispatch(fetchCustomEmojis());
|
||||
store.dispatch(fetchServer());
|
||||
|
||||
export default class ComposeContainer extends PureComponent {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user