fix: remove erroneous debug println!()s in islands (#2402)

This commit is contained in:
Chris Biscardi 2024-03-04 03:56:18 -08:00 committed by GitHub
parent 3e93a686f4
commit c06f6bede2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));
}