diff --git a/src/components/compose.jsx b/src/components/compose.jsx
index c6076604..194e3312 100644
--- a/src/components/compose.jsx
+++ b/src/components/compose.jsx
@@ -141,6 +141,7 @@ function Compose({
const [language, setLanguage] = useState(
store.session.get('currentLanguage') || DEFAULT_LANG,
);
+ const prevLanguage = useRef(language);
const [mediaAttachments, setMediaAttachments] = useState([]);
const [poll, setPoll] = useState(null);
@@ -1032,7 +1033,11 @@ function Compose({
{uiState !== 'loading' && (
)}
-