diff --git a/crates/ui/src/components/context_menu.rs b/crates/ui/src/components/context_menu.rs index cea25ab5e7..9662b5ed00 100644 --- a/crates/ui/src/components/context_menu.rs +++ b/crates/ui/src/components/context_menu.rs @@ -12,9 +12,10 @@ use std::{ cell::{Cell, RefCell}, collections::HashMap, rc::Rc, - time::{Duration, Instant}, + time::Duration, }; use theme::BufferLineHeight; +use web_time::Instant; #[derive(Copy, Clone, Debug, PartialEq, Eq)] enum SubmenuOpenTrigger {