mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
Remove duplicated code
This commit is contained in:
@@ -32,9 +32,7 @@ export default class ReplyPlaceholder extends Component {
|
||||
}
|
||||
|
||||
const reply = () => {
|
||||
DiscussionControls.replyAction.call(this.props.discussion, true).then(function (newComponent) {
|
||||
newComponent.focus();
|
||||
});
|
||||
DiscussionControls.replyAction.call(this.props.discussion, true);
|
||||
};
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user