fixed error compiling

This commit is contained in:
Jose Quesada 2022-12-08 18:01:06 -06:00
parent c3b4945c7e
commit e641108ed3
2 changed files with 2 additions and 5 deletions

View File

@ -69,9 +69,6 @@ features = [
[workspace]
[features]
default = ["web", "hydrate"]
default = ["web"]
web = []
csr = ["leptos_reactive/csr"]
hydrate = ["leptos_reactive/hydrate"]
ssr = ["leptos_reactive/ssr"]
stable = ["leptos_reactive/stable"]

View File

@ -570,7 +570,7 @@ macro_rules! generate_html_tags {
panic!("SSR and CSR hydration mismatch, element id `_{id}` not found!");
}
} else {
[<$tag:upper>].clone_node()
[<$tag:upper>].clone_node().unwrap().unchecked_into()
};
Self {