commit
8245d77738
|
@ -862,7 +862,6 @@ where
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(all(target_arch = "wasm32", feature = "web"))] {
|
||||
crate::logging::console_log("mounting");
|
||||
mount_to(crate::document().body().expect("body element to exist"), f)
|
||||
} else {
|
||||
_ = f;
|
||||
|
|
|
@ -735,9 +735,7 @@ impl ToMarker for HydrationKey {
|
|||
) -> Oco<'static, str> {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
if component_name == "unit" {
|
||||
format!("<!--hk={self}|leptos-unit-->").into()
|
||||
} else if closing {
|
||||
if closing || component_name == "unit" {
|
||||
format!("<!--hk={self}c|leptos-{component_name}-end-->").into()
|
||||
} else {
|
||||
format!("<!--hk={self}o|leptos-{component_name}-start-->")
|
||||
|
|
Loading…
Reference in New Issue