From d7d450e9423fcfd00c7828acb2594625d2ad053c Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 21 Nov 2024 03:23:18 +0100 Subject: [PATCH] chore(web): unused stuff --- web/src/objects/view.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/objects/view.rs b/web/src/objects/view.rs index ea1f3f1..81a4dce 100644 --- a/web/src/objects/view.rs +++ b/web/src/objects/view.rs @@ -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() {