| 9 | |
| 10 | interface ProgramFormData { |
| 11 | name: string |
| 12 | notes: string |
| 13 | days: DayDraft[] |
| 14 | } |
| 15 | |
| 16 | export default function EditProgram() { |
| 17 | const { id } = useParams<{ id: string }>() |
| 18 | const navigate = useNavigate() |
| 19 | const { settings } = useSettingsStore() |
| 20 | const wUnit = weightShort(settings.weight_unit) |
| 21 | const [loading, setLoading] = useState(false) |
| 22 | const [initialLoading, setInitialLoading] = useState(true) |
| 23 | const [error, setError] = useState('') |
nothing calls this directly
no outgoing calls
no test coverage detected