removed unused stuff

This commit is contained in:
filipriec
2025-03-21 22:22:35 +01:00
parent 911dba9bce
commit 44c5963c71
2 changed files with 1 additions and 4 deletions

View File

@@ -3,11 +3,10 @@ use ratatui::{
widgets::{Block, List, ListItem}, widgets::{Block, List, ListItem},
layout::{Rect, Direction, Layout, Constraint}, layout::{Rect, Direction, Layout, Constraint},
style::Style, style::Style,
text::Text,
Frame, Frame,
}; };
use crate::config::colors::Theme; use crate::config::colors::Theme;
use common::proto::multieko2::table_definition::{ProfileTreeResponse, profile_tree_response::Profile}; use common::proto::multieko2::table_definition::{ProfileTreeResponse};
use ratatui::text::{Span, Line}; use ratatui::text::{Span, Line};
const SIDEBAR_WIDTH: u16 = 16; const SIDEBAR_WIDTH: u16 = 16;

View File

@@ -34,8 +34,6 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
// Fetch profile tree and table structure // Fetch profile tree and table structure
let profile_tree = grpc_client.get_profile_tree().await?; let profile_tree = grpc_client.get_profile_tree().await?;
let table_structure = grpc_client.get_table_structure().await?;
// The rest of your UI initialization remains the same // The rest of your UI initialization remains the same
let mut event_handler = EventHandler::new(); let mut event_handler = EventHandler::new();
let event_reader = EventReader::new(); let event_reader = EventReader::new();