diff --git a/src/frontend/app.rs b/src/frontend/app.rs index 807c804..f9f5302 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -6,12 +6,8 @@ use crate::{ dark_mode::DarkMode, pages::{ article::{ - actions::ArticleActions, - create::CreateArticle, - edit::EditArticle, - history::ArticleHistory, - list::ListArticles, - read::ReadArticle, + actions::ArticleActions, create::CreateArticle, edit::EditArticle, + history::ArticleHistory, list::ListArticles, read::ReadArticle, }, diff::EditDiff, instance::{details::InstanceDetails, list::ListInstances}, @@ -45,8 +41,6 @@ pub fn is_admin() -> bool { .unwrap_or(false) }) } - -// TODO: can probably get rid of this pub trait DefaultResource { fn with_default(&self, f: impl FnOnce(&T) -> O) -> O; }