mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
fix(hot-reload): handle DOM-less views
This commit is contained in:
@@ -217,7 +217,7 @@ where
|
||||
extra_attrs,
|
||||
);
|
||||
if !T::EXISTS {
|
||||
buf.push_str("<!>");
|
||||
buf.push_str("<!--<() />-->");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,7 +238,7 @@ where
|
||||
extra_attrs,
|
||||
);
|
||||
if !T::EXISTS {
|
||||
buf.push_sync("<!>");
|
||||
buf.push_sync("<!--<() />-->");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@ where
|
||||
extra_attrs,
|
||||
);
|
||||
if !T::EXISTS {
|
||||
buf.push_sync("<!>");
|
||||
buf.push_sync("<!--<() />-->");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user