Remove unneeded constructors for stories

This commit is contained in:
Marshall Bowers 2023-10-26 16:46:49 +02:00
parent 65045b9c52
commit 61694bba6a
33 changed files with 62 additions and 227 deletions

View file

@ -65,10 +65,6 @@ mod stories {
pub struct ProjectPanelStory;
impl ProjectPanelStory {
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::<_, ProjectPanel>(cx))