Merge remote-tracking branch 'soapbox/develop' into events-

This commit is contained in:
marcin mikołajczak
2022-10-06 00:01:39 +02:00
23 changed files with 1748 additions and 1752 deletions

View File

@ -27,10 +27,8 @@ const ComposeModal: React.FC<IComposeModal> = ({ onClose }) => {
const { id: statusId, privacy, in_reply_to: inReplyTo, quote } = compose!;
const hasComposeContent = checkComposeContent(compose);
const onClickClose = () => {
if (hasComposeContent) {
if (checkComposeContent(compose)) {
dispatch(openModal('CONFIRM', {
icon: require('@tabler/icons/trash.svg'),
heading: statusId