diff --git a/web/src/objects/attachment.rs b/web/src/objects/attachment.rs index d19a6e2a..4e8b9152 100644 --- a/web/src/objects/attachment.rs +++ b/web/src/objects/attachment.rs @@ -1,7 +1,7 @@ use leptos::*; use crate::{prelude::*, URL_SENSITIVE}; -use apb::{field::OptionalString, target::Addressed, ActivityMut, Base, Collection, CollectionMut, Document, Object, ObjectMut}; +use apb::{field::OptionalString, Document, Object}; #[component] pub fn Attachment( diff --git a/web/src/objects/item.rs b/web/src/objects/item.rs index 0186aa91..8b3a422a 100644 --- a/web/src/objects/item.rs +++ b/web/src/objects/item.rs @@ -1,11 +1,10 @@ use std::sync::Arc; -use cache::WEBFINGER; use leptos::*; use regex::Regex; use crate::prelude::*; -use apb::{field::OptionalString, target::Addressed, ActivityMut, Base, Collection, CollectionMut, Document, Object, ObjectMut}; +use apb::{field::OptionalString, target::Addressed, ActivityMut, Base, Collection, CollectionMut, Object, ObjectMut}; lazy_static::lazy_static! { static ref REGEX: Regex = regex::Regex::new("@(\\w+)(@\\w+|)").expect("failed compiling @ regex");