chore(web): unused stuff

This commit is contained in:
əlemi 2024-11-21 03:23:18 +01:00
parent 2b6037f860
commit d7d450e942
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -3,7 +3,7 @@ use leptos::*;
use leptos_router::*;
use crate::{app::FeedRoute, prelude::*, Config};
use apb::{Base, Object};
use apb::Object;
#[component]
pub fn ObjectView() -> impl IntoView {
@ -16,7 +16,7 @@ pub fn ObjectView() -> impl IntoView {
let id = Signal::derive(move || params.get().get("id").cloned().unwrap_or_default());
let object = create_local_resource(
move || (id.get(), loading.get()),
move |(oid, loading)| async move {
move |(oid, _loading)| async move {
tracing::info!("rerunning fetcher");
let obj = cache::OBJECTS.resolve(&oid, U::Object, auth).await?;
if let Ok(author) = obj.attributed_to().id() {