cargo fix
This commit is contained in:
@@ -10,8 +10,7 @@ use ratatui::{
|
|||||||
layout::{Alignment, Constraint, Direction, Layout, Rect, Margin},
|
layout::{Alignment, Constraint, Direction, Layout, Rect, Margin},
|
||||||
style::{Style, Modifier, Color}, // Removed unused Color import
|
style::{Style, Modifier, Color}, // Removed unused Color import
|
||||||
widgets::{Block, BorderType, Borders, Paragraph},
|
widgets::{Block, BorderType, Borders, Paragraph},
|
||||||
Frame,
|
Frame, // Removed unused Span import
|
||||||
text::Line, // Removed unused Span import
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn render_login(
|
pub fn render_login(
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// src/components/common/dialog.rs
|
// src/components/common/dialog.rs
|
||||||
use ratatui::{
|
use ratatui::{
|
||||||
layout::{Constraint, Direction, Layout, Rect, Margin},
|
layout::{Constraint, Direction, Layout, Rect, Margin},
|
||||||
style::{Color, Modifier, Style},
|
style::{Modifier, Style},
|
||||||
widgets::{Block, BorderType, Borders, Paragraph},
|
widgets::{Block, BorderType, Borders, Paragraph},
|
||||||
Frame,
|
Frame,
|
||||||
text::{Text, Line, Span}
|
text::{Text, Line, Span}
|
||||||
|
|||||||
@@ -8,8 +8,4 @@ pub mod auth;
|
|||||||
pub mod ui_service;
|
pub mod ui_service;
|
||||||
|
|
||||||
pub use grpc_client::*;
|
pub use grpc_client::*;
|
||||||
pub use adresar::*;
|
|
||||||
pub use table::*;
|
|
||||||
pub use profile::*;
|
|
||||||
pub use auth::*;
|
|
||||||
pub use ui_service::*;
|
pub use ui_service::*;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
use crate::services::grpc_client::GrpcClient;
|
use crate::services::grpc_client::GrpcClient;
|
||||||
use crate::state::pages::form::FormState;
|
use crate::state::pages::form::FormState;
|
||||||
use crate::state::state::AppState;
|
use crate::state::state::AppState;
|
||||||
use common::proto::multieko2::adresar::AdresarResponse;
|
|
||||||
|
|
||||||
pub struct UiService;
|
pub struct UiService;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// src/tui/functions/form.rs
|
// src/tui/functions/form.rs
|
||||||
use crate::state::pages::form::FormState;
|
use crate::state::pages::form::FormState;
|
||||||
use crate::services::grpc_client::GrpcClient;
|
use crate::services::grpc_client::GrpcClient;
|
||||||
use common::proto::multieko2::adresar::AdresarResponse;
|
|
||||||
|
|
||||||
pub async fn handle_action(
|
pub async fn handle_action(
|
||||||
action: &str,
|
action: &str,
|
||||||
|
|||||||
Reference in New Issue
Block a user