diff --git a/src/components/left.rs b/src/components/left.rs index 3d2c10e..fc59e4c 100644 --- a/src/components/left.rs +++ b/src/components/left.rs @@ -18,7 +18,7 @@ use crossterm::event::KeyEvent; use ratatui::{prelude::*, widgets::*}; use tokio::sync::mpsc::UnboundedSender; -use super::{popup::Type, state::StatefulList, Component}; +use super::{popup, state::StatefulList, Component}; use crate::{ action::Action, app::Mode, @@ -192,7 +192,7 @@ impl Component for Left { if self.list_drivers.items.is_empty() { if let Some(command_tx) = self.command_tx.clone() { command_tx.send(Action::DisplayPopup( - Type::Error, + popup::Type::Error, String::from("No drivers available to install"), ))?; }