diff --git a/app/soapbox/components/status.tsx b/app/soapbox/components/status.tsx index 9a2b3350b5..f24adaefb5 100644 --- a/app/soapbox/components/status.tsx +++ b/app/soapbox/components/status.tsx @@ -385,7 +385,7 @@ const Status: React.FC = (props) => { )} {actualStatus.event ? : ( - <> + = (props) => { {quote} )} - + )} diff --git a/app/soapbox/components/ui/modal/modal.tsx b/app/soapbox/components/ui/modal/modal.tsx index 7413091955..8b55643353 100644 --- a/app/soapbox/components/ui/modal/modal.tsx +++ b/app/soapbox/components/ui/modal/modal.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import Button from '../button/button'; +import HStack from '../hstack/hstack'; import IconButton from '../icon-button/icon-button'; import Stack from '../stack/stack'; @@ -115,7 +116,7 @@ const Modal: React.FC = ({ {confirmationAction && ( -
+
{cancelAction && (
- + {secondaryAction && ( - -
+ + )} ); diff --git a/app/soapbox/features/event/components/event-header.tsx b/app/soapbox/features/event/components/event-header.tsx index ebf895a83e..b38ca89592 100644 --- a/app/soapbox/features/event/components/event-header.tsx +++ b/app/soapbox/features/event/components/event-header.tsx @@ -326,6 +326,7 @@ const EventHeader: React.FC = ({ status }) => { }; const handleParticipantsClick: React.MouseEventHandler = e => { + e.preventDefault(); e.stopPropagation(); dispatch(openModal('EVENT_PARTICIPANTS', { @@ -404,7 +405,7 @@ const EventHeader: React.FC = ({ status }) => { defaultMessage='Organized by {name}' values={{ name: ( - + {account.verified && }