chore(web): imports

This commit is contained in:
əlemi 2024-07-04 03:21:11 +02:00
parent 8ab39bfb2b
commit f97845d81e
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 3 deletions

View file

@ -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(

View file

@ -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("<a href=\"(.+)\" class=\"u-url mention\">@(\\w+)(@\\w+|)</a>").expect("failed compiling @ regex");