Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(lp): remove some dead code #2120

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading