Fix stories

co-authored-by: Piotrek <piotr@zed.dev>
This commit is contained in:
Mikayla
2023-11-20 16:06:10 -08:00
co-authored by Piotrek
parent 8049ec674e
commit a844bf7d41
14 changed files with 22 additions and 62 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ mod stories {
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
Story::container(cx)
.child(Story::title_for::<_, Label>(cx))
.child(Story::title_for::<Label>(cx))
.child(Story::label(cx, "Default"))
.child(Label::new("Hello, world!"))
.child(Story::label(cx, "Highlighted"))