Skip to content

Commit

Permalink
fix: remove erroneous debug println!()s in islands (#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi authored Mar 4, 2024
1 parent 3e93a68 commit c06f6be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions leptos_reactive/src/hydration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,11 @@ thread_local! {
impl SharedContext {
/// Whether the renderer should currently add hydration IDs.
pub fn no_hydrate() -> bool {
println!("no_hydrate == {}", NO_HYDRATE.with(Cell::get));
NO_HYDRATE.with(Cell::get)
}

/// Sets whether the renderer should not add hydration IDs.
pub fn set_no_hydrate(hydrate: bool) {
println!("set_no_hydrate == {}", hydrate);
NO_HYDRATE.with(|cell| cell.set(hydrate));
}

Expand Down

1 comment on commit c06f6be

@johnbchron
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Please sign in to comment.