From 841418759b157909d247e1a23c9390b808d7031e Mon Sep 17 00:00:00 2001 From: filipriec Date: Sat, 22 Mar 2025 16:26:38 +0100 Subject: [PATCH] last changes --- client/src/ui/handlers/render.rs | 3 ++- client/src/ui/handlers/ui.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/ui/handlers/render.rs b/client/src/ui/handlers/render.rs index fa89037..8c63846 100644 --- a/client/src/ui/handlers/render.rs +++ b/client/src/ui/handlers/render.rs @@ -4,8 +4,9 @@ use crate::components::{ render_background, render_command_line, render_status_line, - handlers::{sidebar::{self, calculate_sidebar_layout}, admin_panel::AdminPanelState, form::render_form}, + handlers::{sidebar::{self, calculate_sidebar_layout}, form::render_form}, intro::{intro}, + admin::{admin_panel::AdminPanelState}, }; use crate::config::colors::Theme; use ratatui::layout::{Constraint, Direction, Layout}; diff --git a/client/src/ui/handlers/ui.rs b/client/src/ui/handlers/ui.rs index fccbf70..7f89f9c 100644 --- a/client/src/ui/handlers/ui.rs +++ b/client/src/ui/handlers/ui.rs @@ -9,7 +9,7 @@ use crate::config::config::Config; use crate::ui::handlers::{form::FormState, render::render_ui}; use crate::modes::handlers::event::EventHandler; use crate::state::state::AppState; -use crate::components::handlers::{admin_panel::AdminPanelState}; +use crate::components::admin::{admin_panel::AdminPanelState}; use crate::components::intro::{intro::IntroState}; pub async fn run_ui() -> Result<(), Box> {