From 0f809b0bc0608b7b79c0daf73dd3aa3fb5c8bf1c Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Wed, 18 Sep 2024 10:51:25 +0900 Subject: [PATCH] chore(lp): remove some dead code --- node-launchpad/src/components/status.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/node-launchpad/src/components/status.rs b/node-launchpad/src/components/status.rs index 4406453bb8..d06e777953 100644 --- a/node-launchpad/src/components/status.rs +++ b/node-launchpad/src/components/status.rs @@ -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 { - 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 {