Fix issues in storybook2
This commit is contained in:
parent
a6b872bb0c
commit
207d843aee
4 changed files with 7 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue