Skip to content

Commit

Permalink
fix: don't import non-existing tracing module in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
brofrain committed Oct 28, 2023
1 parent b7b6334 commit 5091d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cfg_if::cfg_if! {
hash::Hash,
};

#[cfg(debug_assertions)]
#[allow(unused_imports)]
use leptos::tracing;

Expand Down

0 comments on commit 5091d3f

Please sign in to comment.