"feat: update data APIs to fetch orders and events via fetch instead of axios, add Order and Event models, update selectors and reducers, add EventDetail page with joined members display"
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { IonIcon } from '@ionic/react';
|
||||
import { woman } from 'ionicons/icons';
|
||||
import React from 'react';
|
||||
|
||||
export function NumOfFemaleMemberJoin({ joinMembers }) {
|
||||
return (
|
||||
<>
|
||||
<IonIcon icon={woman} style={{ fontSize: '1.1rem', color: 'rgb(235, 50, 35)' }}></IonIcon>
|
||||
<div>{joinMembers.filter((jm) => jm.sex == 'F').length}</div>
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user