Echo 11f3393825 [Glitch] Remove custom emojis from Redux
Port 5d9796afb2ab07f64e9876273c363c35ab864bd5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-04-30 19:05:06 +02:00

28 lines
760 B
JavaScript

import { Provider } from 'react-redux';
import { fetchServer } from 'flavours/glitch/actions/server';
import { hydrateStore } from 'flavours/glitch/actions/store';
import { Router } from 'flavours/glitch/components/router';
import Compose from 'flavours/glitch/features/standalone/compose';
import { initialState } from 'flavours/glitch/initial_state';
import { IntlProvider } from 'flavours/glitch/locales';
import { store } from 'flavours/glitch/store';
if (initialState) {
store.dispatch(hydrateStore(initialState));
}
store.dispatch(fetchServer());
const ComposeContainer = () => (
<IntlProvider>
<Provider store={store}>
<Router>
<Compose />
</Router>
</Provider>
</IntlProvider>
);
export default ComposeContainer;