From ea04f33f50cd7ba5cd3fd0d234cb56f9ed65c6f9 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Wed, 3 May 2023 16:28:14 +0200 Subject: [PATCH] [Glitch] Fixes build errors from some previous TS-related commits Port 45579a26cfe4f62626d9d1d45431a5d2884ac658 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/containers/compose_container.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/containers/compose_container.jsx b/app/javascript/flavours/glitch/containers/compose_container.jsx index 1e49b89a0..dada4cfed 100644 --- a/app/javascript/flavours/glitch/containers/compose_container.jsx +++ b/app/javascript/flavours/glitch/containers/compose_container.jsx @@ -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)); }