Remove unneeded constructors for stories
This commit is contained in:
@@ -76,10 +76,6 @@ mod stories {
|
||||
pub struct ContextMenuStory;
|
||||
|
||||
impl ContextMenuStory {
|
||||
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::<_, ContextMenu>(cx))
|
||||
|
||||
Reference in New Issue
Block a user