moving state out of ui
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
use crate::tui::terminal::AppTerminal;
|
||||
use crate::config::colors::Theme;
|
||||
use crate::config::config::Config;
|
||||
use crate::ui::handlers::{event::EventHandler, form::FormState, state::AppState, render::render_ui};
|
||||
use crate::ui::handlers::{event::EventHandler, form::FormState, render::render_ui};
|
||||
use crate::state::state::AppState;
|
||||
|
||||
|
||||
pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let config = Config::load()?;
|
||||
|
||||
Reference in New Issue
Block a user