Remove unneeded constructors for stories
This commit is contained in:
@@ -120,10 +120,6 @@ mod stories {
|
||||
pub struct InputStory;
|
||||
|
||||
impl InputStory {
|
||||
pub fn new() -> Self {
|
||||
Self
|
||||
}
|
||||
|
||||
fn render<V: 'static>(self, _view: &mut V, cx: &mut ViewContext<V>) -> impl Component<V> {
|
||||
Story::container(cx)
|
||||
.child(Story::title_for::<_, Input>(cx))
|
||||
|
||||
Reference in New Issue
Block a user