Fix stories

co-authored-by: Piotrek <piotr@zed.dev>
This commit is contained in:
Mikayla 2023-11-20 16:06:03 -08:00
parent 8049ec674e
commit a844bf7d41
No known key found for this signature in database
14 changed files with 22 additions and 62 deletions

View file

@ -54,7 +54,7 @@ mod stories {
impl Render for AvatarStory {
type Element = Div;
fn render(&mut self, cx: &mut WindowContext) -> Self::Element {
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
Story::container(cx)
.child(Story::title_for::<Avatar>(cx))
.child(Story::label(cx, "Default"))