Massive/plan-page-params.ts
Brandon Presley ffbefe7a4f Add feature to edit last set from plan
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.
2022-11-02 12:58:57 +13:00

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
}
}