|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
import configureStore from 'flavours/glitch/store/configureStore';
|
|
|
|
|
import { store } from 'flavours/glitch/store/configureStore';
|
|
|
|
|
import { hydrateStore } from 'flavours/glitch/actions/store';
|
|
|
|
|
import { IntlProvider, addLocaleData } from 'react-intl';
|
|
|
|
|
import { getLocale } from 'mastodon/locales';
|
|
|
|
@ -12,8 +12,6 @@ import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis';
|
|
|
|
|
const { localeData, messages } = getLocale();
|
|
|
|
|
addLocaleData(localeData);
|
|
|
|
|
|
|
|
|
|
const store = configureStore();
|
|
|
|
|
|
|
|
|
|
if (initialState) {
|
|
|
|
|
store.dispatch(hydrateStore(initialState));
|
|
|
|
|
}
|
|
|
|
|