Add lang attribute to compose textarea and CW field (#23240)

Fixes #19858
This commit is contained in:
Claire
2023-01-24 18:49:21 +01:00
committed by GitHub
parent dcdf081c6f
commit 83a8efa9ca
4 changed files with 10 additions and 2 deletions

View File

@ -26,6 +26,7 @@ const mapStateToProps = state => ({
isUploading: state.getIn(['compose', 'is_uploading']),
anyMedia: state.getIn(['compose', 'media_attachments']).size > 0,
isInReply: state.getIn(['compose', 'in_reply_to']) !== null,
lang: state.getIn(['compose', 'language']),
});
const mapDispatchToProps = (dispatch) => ({