Skip to content

Commit f058d05

Browse files
committed
use Empty
1 parent 7122e58 commit f058d05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/tailwind_indicator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use gpui::prelude::*;
2-
use gpui::{black, div, white, App, Window};
2+
use gpui::{black, div, white, App, Window, Empty};
33

44
#[derive(IntoElement)]
55
pub struct TailwindIndicator {}
@@ -13,7 +13,7 @@ impl TailwindIndicator {
1313
impl RenderOnce for TailwindIndicator {
1414
fn render(self, window: &mut Window, _cx: &mut App) -> impl IntoElement {
1515
if !cfg!(debug_assertions) {
16-
return "".into_any_element();
16+
return Empty{}.into_any_element();
1717
}
1818

1919
let width = window.bounds().size.width.to_f64();

0 commit comments

Comments
 (0)