Brandon Presley
ffbefe7a4f
If you are working through a plan, and accidentally save an incorrect set (e.g. 100 reps instead of 10), now you can long tap the item, and press edit. This is slightly easier than swapping back over to the home page to edit the set. Also since I reused the same EditSet component this wasn't very much work.
16 lines
208 B
TypeScript
16 lines
208 B
TypeScript
import GymSet from './gym-set'
|
|
import {Plan} from './plan'
|
|
|
|
export type PlanPageParams = {
|
|
PlanList: {}
|
|
EditPlan: {
|
|
plan: Plan
|
|
}
|
|
StartPlan: {
|
|
plan: Plan
|
|
}
|
|
EditSet: {
|
|
set: GymSet
|
|
}
|
|
}
|