diff --git a/client/src/components/auth/login.rs b/client/src/components/auth/login.rs index 54c61f9..7f868c0 100644 --- a/client/src/components/auth/login.rs +++ b/client/src/components/auth/login.rs @@ -10,8 +10,7 @@ use ratatui::{ layout::{Alignment, Constraint, Direction, Layout, Rect, Margin}, style::{Style, Modifier, Color}, // Removed unused Color import widgets::{Block, BorderType, Borders, Paragraph}, - Frame, - text::Line, // Removed unused Span import + Frame, // Removed unused Span import }; pub fn render_login( diff --git a/client/src/components/common/dialog.rs b/client/src/components/common/dialog.rs index 754157c..61cfd82 100644 --- a/client/src/components/common/dialog.rs +++ b/client/src/components/common/dialog.rs @@ -1,7 +1,7 @@ // src/components/common/dialog.rs use ratatui::{ layout::{Constraint, Direction, Layout, Rect, Margin}, - style::{Color, Modifier, Style}, + style::{Modifier, Style}, widgets::{Block, BorderType, Borders, Paragraph}, Frame, text::{Text, Line, Span} diff --git a/client/src/services/mod.rs b/client/src/services/mod.rs index f24605d..2d9e927 100644 --- a/client/src/services/mod.rs +++ b/client/src/services/mod.rs @@ -8,8 +8,4 @@ pub mod auth; pub mod ui_service; pub use grpc_client::*; -pub use adresar::*; -pub use table::*; -pub use profile::*; -pub use auth::*; pub use ui_service::*; diff --git a/client/src/services/ui_service.rs b/client/src/services/ui_service.rs index 7eb0455..c43aee5 100644 --- a/client/src/services/ui_service.rs +++ b/client/src/services/ui_service.rs @@ -3,7 +3,6 @@ use crate::services::grpc_client::GrpcClient; use crate::state::pages::form::FormState; use crate::state::state::AppState; -use common::proto::multieko2::adresar::AdresarResponse; pub struct UiService; diff --git a/client/src/tui/functions/form.rs b/client/src/tui/functions/form.rs index d4c6ad3..1c31673 100644 --- a/client/src/tui/functions/form.rs +++ b/client/src/tui/functions/form.rs @@ -1,7 +1,6 @@ // src/tui/functions/form.rs use crate::state::pages::form::FormState; use crate::services::grpc_client::GrpcClient; -use common::proto::multieko2::adresar::AdresarResponse; pub async fn handle_action( action: &str,