From ae302d2f5a66390cf1a8f88738e55f66cf233d45 Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Mon, 6 Jan 2025 12:50:40 +0100 Subject: [PATCH] [Glitch] Standalone share page: Dispatch fetchServer for maxChars (#2929) --- app/javascript/flavours/glitch/containers/compose_container.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/flavours/glitch/containers/compose_container.jsx b/app/javascript/flavours/glitch/containers/compose_container.jsx index 772ac5fa6b..c155180c8d 100644 --- a/app/javascript/flavours/glitch/containers/compose_container.jsx +++ b/app/javascript/flavours/glitch/containers/compose_container.jsx @@ -1,6 +1,7 @@ import { Provider } from 'react-redux'; import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis'; +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'; @@ -13,6 +14,7 @@ if (initialState) { } store.dispatch(fetchCustomEmojis()); +store.dispatch(fetchServer()); const ComposeContainer = () => (