mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-18 02:28:08 +00:00
[Glitch] Standalone share page: Dispatch fetchServer for maxChars (#2929)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
|
|
||||||
import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis';
|
import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis';
|
||||||
|
import { fetchServer } from 'flavours/glitch/actions/server';
|
||||||
import { hydrateStore } from 'flavours/glitch/actions/store';
|
import { hydrateStore } from 'flavours/glitch/actions/store';
|
||||||
import { Router } from 'flavours/glitch/components/router';
|
import { Router } from 'flavours/glitch/components/router';
|
||||||
import Compose from 'flavours/glitch/features/standalone/compose';
|
import Compose from 'flavours/glitch/features/standalone/compose';
|
||||||
@@ -13,6 +14,7 @@ if (initialState) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
store.dispatch(fetchCustomEmojis());
|
store.dispatch(fetchCustomEmojis());
|
||||||
|
store.dispatch(fetchServer());
|
||||||
|
|
||||||
const ComposeContainer = () => (
|
const ComposeContainer = () => (
|
||||||
<IntlProvider>
|
<IntlProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user