1
0
mirror of https://github.com/flarum/core.git synced 2025-06-28 13:44:21 +02:00

Catch promise reject when not logged in on reply

This commit is contained in:
Alexander Skvortsov
2020-10-05 14:40:33 -04:00
parent b562072471
commit 0b44c48433

View File

@ -33,7 +33,7 @@ export default class ReplyPlaceholder extends Component {
}
const reply = () => {
DiscussionControls.replyAction.call(this.attrs.discussion, true);
DiscussionControls.replyAction.call(this.attrs.discussion, true).catch(() => {});
};
return (