feat: add party user gender field to schema and implement event joining functionality with gender tracking

This commit is contained in:
louiscklaw
2025-06-18 02:28:29 +08:00
parent 279496ea38
commit 44091e0432
7 changed files with 90 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ interface StateProps {}
interface DispatchProps {}
interface EventDetailProps extends OwnProps, StateProps, DispatchProps {}
interface PageProps extends OwnProps, StateProps, DispatchProps {}
const showJoinedMembers = (joinMembers: Record<string, any>[]) => {
const avatars = joinMembers.map((jm) => jm.avatar);
@@ -90,7 +90,7 @@ const showJoinedMembers = (joinMembers: Record<string, any>[]) => {
);
};
const EventDetail: React.FC<EventDetailProps> = ({ event_detail }) => {
const EventDetail: React.FC<PageProps> = ({ event_detail }) => {
const router = useIonRouter();
const [showPopover, setShowPopover] = useState(false);