Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
senier committed Nov 6, 2024
1 parent 3c96cd3 commit e1fb657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions frontend/src/ui/page/body_fat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub enum Msg {
DateChanged(String),
ChestChanged(String),
AbdominalChanged(String),
TighChanged(String),
ThighChanged(String),
TricepChanged(String),
SubscapularChanged(String),
SuprailiacChanged(String),
Expand Down Expand Up @@ -270,7 +270,7 @@ pub fn update(
panic!();
}
},
Msg::TighChanged(thigh) => match model.dialog {
Msg::ThighChanged(thigh) => match model.dialog {
Dialog::AddBodyFat(ref mut form) | Dialog::EditBodyFat(ref mut form) => {
match thigh.parse::<u8>() {
Ok(parsed_thigh) => {
Expand Down Expand Up @@ -551,7 +551,7 @@ fn view_body_fat_dialog(dialog: &Dialog, loading: bool, sex: u8) -> Node<Msg> {
"Thigh",
"Vertical fold midway between knee cap and top of thigh",
&form.thigh,
Msg::TighChanged,
Msg::ThighChanged,
save_disabled
),
]
Expand All @@ -575,7 +575,7 @@ fn view_body_fat_dialog(dialog: &Dialog, loading: bool, sex: u8) -> Node<Msg> {
"Thigh",
"Vertical fold midway between knee cap and top of thigh",
&form.thigh,
Msg::TighChanged,
Msg::ThighChanged,
save_disabled
),
]
Expand Down Expand Up @@ -834,7 +834,7 @@ fn view_table(model: &Model, data_model: &data::Model) -> Node<Msg> {
nodes![
th!["Tricep (mm)"],
th!["Suprailiac (mm)"],
th!["Tigh (mm)"],
th!["Thigh (mm)"],
th!["Chest (mm)"],
th!["Abdominal (mm)"],
th!["Subscapular (mm)"],
Expand All @@ -844,7 +844,7 @@ fn view_table(model: &Model, data_model: &data::Model) -> Node<Msg> {
nodes![
th!["Chest (mm)"],
th!["Abdominal (mm)"],
th!["Tigh (mm)"],
th!["Thigh (mm)"],
th!["Tricep (mm)"],
th!["Subscapular (mm)"],
th!["Suprailiac (mm)"],
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ui/page/exercise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ pub fn view_charts<Ms>(
)];

if show_rpe {
labels.push(("+ Repetititions in reserve", common::COLOR_REPS_RIR));
labels.push(("+ Repetitions in reserve", common::COLOR_REPS_RIR));
data.push((
reps_rpe
.into_iter()
Expand Down

0 comments on commit e1fb657

Please sign in to comment.