From 2f298a5353b8fba0e83c3e89d3f1909ac7ea9cfa Mon Sep 17 00:00:00 2001 From: Daniel Boros Date: Tue, 10 Sep 2024 12:26:25 +0200 Subject: [PATCH] fix: dbg_assertations --- src/post.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/post.rs b/src/post.rs index 3c5d96e..b5f0e44 100644 --- a/src/post.rs +++ b/src/post.rs @@ -19,7 +19,7 @@ pub fn Component() -> impl IntoView { } }); create_effect(move |_| { - //#[cfg(not(debug_assertions))] + #[cfg(not(debug_assertions))] if post.get().is_some() { increment_view.dispatch(post.get().as_ref().unwrap().id.id.to_string()); }