Fix issues in storybook2

This commit is contained in:
Marshall Bowers 2023-10-12 10:44:18 -04:00
parent a6b872bb0c
commit 207d843aee
4 changed files with 7 additions and 7 deletions

View file

@ -102,7 +102,7 @@ impl StoryWrapper {
Self { selector, theme }
}
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element<State = Self> {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element<ViewState = Self> {
themed(self.theme.clone(), cx, |cx| {
div()
.flex()