Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unused import

Max Brunsfeld10c94cc8b77c
diff --git a/crates/workspace2/src/modal_layer.rs b/crates/workspace2/src/modal_layer.rs
index a0b759b1d92..4121574b6a4 100644
--- a/crates/workspace2/src/modal_layer.rs
+++ b/crates/workspace2/src/modal_layer.rs
@@ -1,11 +1,8 @@
-use std::{any::TypeId, sync::Arc};
-
+use crate::Workspace;
use gpui::{
- div, AnyView, AppContext, Component, Div, ParentElement, Render, StatelessInteractive, View,
- ViewContext,
+ div, AnyView, AppContext, Div, ParentElement, Render, StatelessInteractive, View, ViewContext,
};
-
-use crate::Workspace;
+use std::{any::TypeId, sync::Arc};
pub struct ModalRegistry {
registered_modals: Vec<(TypeId, Box<dyn Fn(Div<Workspace>) -> Div<Workspace>>)>,