diff --git a/src/components/debug.rs b/src/components/debug.rs index 5a753d6..d91e782 100644 --- a/src/components/debug.rs +++ b/src/components/debug.rs @@ -26,13 +26,6 @@ impl DebugComponent { } } -impl DebugComponent { - pub fn set(&mut self, error: String) -> anyhow::Result<()> { - self.msg = error; - self.show() - } -} - impl DrawableComponent for DebugComponent { fn draw(&mut self, f: &mut Frame, _area: Rect, _focused: bool) -> Result<()> { if true {