UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

[FRONTEND] Fetch membership prices and display them on the frontend #393

Closed bcho892 closed 4 months ago

bcho892 commented 5 months ago

Is your feature request related to a problem? Please describe. With the endpoint created in #296 we should fetch these prices for the user when they visit the page. To do this you will need to edit the client\src\services\AppData\AppDataService.ts and possibly client\src\services\AppData\AppDataQueries.ts. Make sure that this is only fetched once through the session lifetime.

Refer to the useQuery docs for more info.

Make sure that it is displaying properly by booting up the client with yarn dev-client

BEFORE MERGING