Skip to content

Commit

Permalink
fix: dbg_assertations
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Sep 10, 2024
1 parent c8f1a77 commit 2f298a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 2f298a5

Please sign in to comment.