removed unused stuff
This commit is contained in:
@@ -3,11 +3,10 @@ use ratatui::{
|
||||
widgets::{Block, List, ListItem},
|
||||
layout::{Rect, Direction, Layout, Constraint},
|
||||
style::Style,
|
||||
text::Text,
|
||||
Frame,
|
||||
};
|
||||
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};
|
||||
|
||||
const SIDEBAR_WIDTH: u16 = 16;
|
||||
|
||||
@@ -34,8 +34,6 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
// Fetch profile tree and table structure
|
||||
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
|
||||
let mut event_handler = EventHandler::new();
|
||||
let event_reader = EventReader::new();
|
||||
|
||||
Reference in New Issue
Block a user