Skip to content

Commit

Permalink
chore(lp): remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Sep 18, 2024
1 parent def4cd8 commit 0f809b0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions node-launchpad/src/components/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,22 +227,6 @@ impl Status {
};
self.node_table_state.select(Some(i));
}

#[expect(dead_code)]
fn unselect_table_item(&mut self) {
self.node_table_state.select(None);
}

#[expect(dead_code)]
fn get_service_name_of_selected_table_item(&self) -> Option<String> {
let Some(service_idx) = self.node_table_state.selected() else {
warn!("No item selected from table, not removing anything");
return None;
};
self.node_services
.get(service_idx)
.map(|data| data.service_name.clone())
}
}

impl Component for Status {
Expand Down

0 comments on commit 0f809b0

Please sign in to comment.