diff --git a/crates/workspace2/src/modal_layer.rs b/crates/workspace2/src/modal_layer.rs index a0b759b1d92f67a987963dcfc0b1a91052007fc2..4121574b6a490867ec1dd612aca0b417cd138b6f 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) -> Div>)>,