Modify the log workout page so there is a single log workout button instead of separate log exercise buttons for each exercise in the workout.
Additionally, create a Post request on the backend for logging a workout, and call that endpoint in the frontend whenever the new log workout button is pressed.
Modify the log workout page so there is a single log workout button instead of separate log exercise buttons for each exercise in the workout.
Additionally, create a Post request on the backend for logging a workout, and call that endpoint in the frontend whenever the new log workout button is pressed.