Redirect on success for standalone compose (#35763)

This commit is contained in:
Echo authored and GitHub committed 2025-08-13 13:52:29 +00:00
1 parent 613cbf720c
commit 7cf53dbf63
5 files changed
+14 -6

No files matched your search

@@ -73,6 +73,7 @@ class ComposeForm extends ImmutablePureComponent {
singleColumn: PropTypes.bool,
lang: PropTypes.string,
maxChars: PropTypes.number,
redirectOnSuccess: PropTypes.bool,
};
static defaultProps = {
@@ -329,7 +330,7 @@ class ComposeForm extends ImmutablePureComponent {
>
{intl.formatMessage(
this.props.isEditing ?
messages.saveChanges :
messages.saveChanges :
(this.props.isInReply ? messages.reply : messages.publish)
)}
</Button>