acmcsufoss / fullyhacks

🐘 FullyHacks hackathon event, an ACM at CSUF production.
https://fullyhacks.acmcsuf.com/
MIT License
8 stars 7 forks source link

Working on admin <Application/> #6

Closed anhduy1202 closed 1 year ago

anhduy1202 commented 1 year ago

Description

Screenshot

image

Screen Shot 2023-03-18 at 7 58 14 PM

Behavior

Current problem

Applications.tsx

const getFilteredApplication = (
applications: ApplicationType[],
statusFilter: string
) => {
return statusFilter === 'all'
? applications.filter((app) => !applicationIdx.includes(app.id))
: applications.filter((app) => app.status === statusFilter)
}

Current Solution

Propose Solution